[INFO] fetching crate pi_crypto 0.1.1...
[INFO] testing pi_crypto-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate pi_crypto 0.1.1 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate pi_crypto 0.1.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate pi_crypto 0.1.1
[INFO] tweaked toml for crates.io crate pi_crypto 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate pi_crypto 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate pi_crypto 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1cbb3f973c9546178b624be0dd7086bd9c650dc7f2b8d8c2c4b045cbbad2c0f7
[INFO] running `Command { std: "docker" "start" "-a" "1cbb3f973c9546178b624be0dd7086bd9c650dc7f2b8d8c2c4b045cbbad2c0f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cbb3f973c9546178b624be0dd7086bd9c650dc7f2b8d8c2c4b045cbbad2c0f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cbb3f973c9546178b624be0dd7086bd9c650dc7f2b8d8c2c4b045cbbad2c0f7", kill_on_drop: false }`
[INFO] [stdout] 1cbb3f973c9546178b624be0dd7086bd9c650dc7f2b8d8c2c4b045cbbad2c0f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 075db975f0d03e6772b2d31ffd093b98366d07902e81377ef40b516e901981f4
[INFO] running `Command { std: "docker" "start" "-a" "075db975f0d03e6772b2d31ffd093b98366d07902e81377ef40b516e901981f4", kill_on_drop: false }`
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling base64ct v1.7.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling crypto-bigint v0.3.2
[INFO] [stderr]    Compiling const-oid v0.7.1
[INFO] [stderr]    Compiling pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling block-padding v0.3.3
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling der v0.5.1
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling spki v0.5.4
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling pkcs8 v0.8.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling pkcs1 v0.3.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling pi_hash_value v0.1.0
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling rsa v0.6.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling cbc v0.1.2
[INFO] [stderr]    Compiling pem v0.8.3
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling pi_crypto v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RsaPublicKeyComponents`
[INFO] [stdout]  --> src/signature.rs:5:53
[INFO] [stdout]   |
[INFO] [stdout] 5 |     EcdsaKeyPair as EcKeyPair, KeyPair, RsaKeyPair, RsaPublicKeyComponents, ECDSA_P256_SHA256_ASN1,
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockEncryptMut`
[INFO] [stdout]  --> src/cbc.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use aes::cipher::{block_padding::Pkcs7, BlockDecryptMut, BlockEncryptMut, KeyIvInit};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cbc.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut key: [u8; 16] = key.try_into().map_err(|_| "key must be 16 bytes")?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.77s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "075db975f0d03e6772b2d31ffd093b98366d07902e81377ef40b516e901981f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "075db975f0d03e6772b2d31ffd093b98366d07902e81377ef40b516e901981f4", kill_on_drop: false }`
[INFO] [stdout] 075db975f0d03e6772b2d31ffd093b98366d07902e81377ef40b516e901981f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b106d991233cb2ba61211dbf31f60e48635480275a78b462ee4c20f00646efb
[INFO] running `Command { std: "docker" "start" "-a" "1b106d991233cb2ba61211dbf31f60e48635480275a78b462ee4c20f00646efb", kill_on_drop: false }`
[INFO] [stderr]    Compiling hex v0.3.2
[INFO] [stdout] warning: unused import: `RsaPublicKeyComponents`
[INFO] [stdout]  --> src/signature.rs:5:53
[INFO] [stdout]   |
[INFO] [stdout] 5 |     EcdsaKeyPair as EcKeyPair, KeyPair, RsaKeyPair, RsaPublicKeyComponents, ECDSA_P256_SHA256_ASN1,
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockEncryptMut`
[INFO] [stdout]  --> src/cbc.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use aes::cipher::{block_padding::Pkcs7, BlockDecryptMut, BlockEncryptMut, KeyIvInit};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cbc.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut key: [u8; 16] = key.try_into().map_err(|_| "key must be 16 bytes")?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pi_crypto v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RsaPublicKeyComponents`
[INFO] [stdout]  --> src/signature.rs:5:53
[INFO] [stdout]   |
[INFO] [stdout] 5 |     EcdsaKeyPair as EcKeyPair, KeyPair, RsaKeyPair, RsaPublicKeyComponents, ECDSA_P256_SHA256_ASN1,
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockEncryptMut`
[INFO] [stdout]  --> src/cbc.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use aes::cipher::{block_padding::Pkcs7, BlockDecryptMut, BlockEncryptMut, KeyIvInit};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `public_key` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/signature.rs:398:22
[INFO] [stdout]     |
[INFO] [stdout] 398 |         let pk = rsa.public_key();
[INFO] [stdout]     |                      ^^^^^^^^^^ method not found in `Result<signature::Rsa, String>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `public_key` exists on the type `signature::Rsa`
[INFO] [stdout]    --> src/signature.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn public_key(&self) -> Vec<u8> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `signature::Rsa` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 398 |         let pk = rsa.expect("REASON").public_key();
[INFO] [stdout]     |                     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `sign` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/signature.rs:399:23
[INFO] [stdout]     |
[INFO] [stdout] 399 |         let sig = rsa.sign(PaddingAlg::RSA_PKCS1_SHA256, MESSAGE);
[INFO] [stdout]     |                       ^^^^ method not found in `Result<signature::Rsa, String>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `sign` exists on the type `signature::Rsa`
[INFO] [stdout]    --> src/signature.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn sign(&self, padAlg: PaddingAlg, msg: &[u8]) -> Vec<u8> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `signature::Rsa` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 399 |         let sig = rsa.expect("REASON").sign(PaddingAlg::RSA_PKCS1_SHA256, MESSAGE);
[INFO] [stdout]     |                      +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cbc.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut key: [u8; 16] = key.try_into().map_err(|_| "key must be 16 bytes")?;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pi_crypto` (lib test) due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1b106d991233cb2ba61211dbf31f60e48635480275a78b462ee4c20f00646efb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b106d991233cb2ba61211dbf31f60e48635480275a78b462ee4c20f00646efb", kill_on_drop: false }`
[INFO] [stdout] 1b106d991233cb2ba61211dbf31f60e48635480275a78b462ee4c20f00646efb
