[INFO] fetching crate pi_crypto 0.1.0...
[INFO] testing pi_crypto-0.1.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate pi_crypto 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate pi_crypto 0.1.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pi_crypto 0.1.0
[INFO] finished tweaking crates.io crate pi_crypto 0.1.0
[INFO] tweaked toml for crates.io crate pi_crypto 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 124 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.12.3 (available: v0.22.1)
[INFO] [stderr]       Adding hex v0.3.2 (available: v0.4.3)
[INFO] [stderr]       Adding jsonwebtoken v7.2.0 (available: v9.3.0)
[INFO] [stderr]       Adding libsecp256k1 v0.6.0 (available: v0.7.1)
[INFO] [stderr]       Adding ring v0.16.20 (available: v0.17.8)
[INFO] [stderr]       Adding rsa v0.6.1 (available: v0.9.6)
[INFO] [stderr]       Adding simple_asn1 v0.4.1 (available: v0.6.2)
[INFO] [stderr]       Adding siphasher v0.3.11 (available: v1.0.1)
[INFO] [stderr]       Adding untrusted v0.7.1 (available: v0.9.0)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] adfa2d02b4a0c92e6afcbc857ab23988071e1c6c2545e8d3412898a1d9b45ef8
[INFO] running `Command { std: "docker" "start" "-a" "adfa2d02b4a0c92e6afcbc857ab23988071e1c6c2545e8d3412898a1d9b45ef8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "adfa2d02b4a0c92e6afcbc857ab23988071e1c6c2545e8d3412898a1d9b45ef8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adfa2d02b4a0c92e6afcbc857ab23988071e1c6c2545e8d3412898a1d9b45ef8", kill_on_drop: false }`
[INFO] [stdout] adfa2d02b4a0c92e6afcbc857ab23988071e1c6c2545e8d3412898a1d9b45ef8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 47a3ed8b3a6dcca254276533a614592e224fa663857fd7a09175d5f67c8d36a9
[INFO] running `Command { std: "docker" "start" "-a" "47a3ed8b3a6dcca254276533a614592e224fa663857fd7a09175d5f67c8d36a9", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling const-oid v0.7.1
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling rustc-serialize v0.3.25
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling crypto-bigint v0.3.2
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling pi_hash_value v0.1.0
[INFO] [stderr]    Compiling der v0.5.1
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling spki v0.5.4
[INFO] [stderr]    Compiling pkcs8 v0.8.0
[INFO] [stderr]    Compiling pem v0.8.3
[INFO] [stderr]    Compiling pkcs1 v0.3.3
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling rsa v0.6.1
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling pi_crypto v0.1.0 (/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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.43s
[INFO] running `Command { std: "docker" "inspect" "47a3ed8b3a6dcca254276533a614592e224fa663857fd7a09175d5f67c8d36a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47a3ed8b3a6dcca254276533a614592e224fa663857fd7a09175d5f67c8d36a9", kill_on_drop: false }`
[INFO] [stdout] 47a3ed8b3a6dcca254276533a614592e224fa663857fd7a09175d5f67c8d36a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5a01956cb6812283fb80b50d309c8a02bbdee0ebddc17992c6a505930ca9cfb
[INFO] running `Command { std: "docker" "start" "-a" "c5a01956cb6812283fb80b50d309c8a02bbdee0ebddc17992c6a505930ca9cfb", 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pi_crypto v0.1.0 (/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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `public_key` found for enum `Result` 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<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` 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<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] 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; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c5a01956cb6812283fb80b50d309c8a02bbdee0ebddc17992c6a505930ca9cfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5a01956cb6812283fb80b50d309c8a02bbdee0ebddc17992c6a505930ca9cfb", kill_on_drop: false }`
[INFO] [stdout] c5a01956cb6812283fb80b50d309c8a02bbdee0ebddc17992c6a505930ca9cfb
