[INFO] fetching crate rsa-der 0.3.0... [INFO] testing rsa-der-0.3.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rsa-der 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rsa-der 0.3.0 [INFO] finished tweaking crates.io crate rsa-der 0.3.0 [INFO] tweaked toml for crates.io crate rsa-der 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rsa-der 0.3.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding base64ct v1.1.1 (available: v1.8.0) [INFO] [stderr] Adding num-bigint-dig v0.4.0 (available: v0.8.4) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] [stderr] Adding rsa v0.5.0 (available: v0.9.8) [INFO] [stderr] Adding zeroize v1.4.3 (available: v1.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3e21c0215d6b269b088dd074d8264f438125ce3d4d9d00eff43abdad52e9c1e [INFO] running `Command { std: "docker" "start" "-a" "b3e21c0215d6b269b088dd074d8264f438125ce3d4d9d00eff43abdad52e9c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3e21c0215d6b269b088dd074d8264f438125ce3d4d9d00eff43abdad52e9c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e21c0215d6b269b088dd074d8264f438125ce3d4d9d00eff43abdad52e9c1e", kill_on_drop: false }` [INFO] [stdout] b3e21c0215d6b269b088dd074d8264f438125ce3d4d9d00eff43abdad52e9c1e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80aee8d2146464a26febee0f2521ab33676427b3626ba6d39916f651b90384a8 [INFO] running `Command { std: "docker" "start" "-a" "80aee8d2146464a26febee0f2521ab33676427b3626ba6d39916f651b90384a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling rsa-der v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.58s [INFO] running `Command { std: "docker" "inspect" "80aee8d2146464a26febee0f2521ab33676427b3626ba6d39916f651b90384a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80aee8d2146464a26febee0f2521ab33676427b3626ba6d39916f651b90384a8", kill_on_drop: false }` [INFO] [stdout] 80aee8d2146464a26febee0f2521ab33676427b3626ba6d39916f651b90384a8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28a7537e90c84a39392bbf35b2b5b35cf9259547c989243bc1935bd909f085c9 [INFO] running `Command { std: "docker" "start" "-a" "28a7537e90c84a39392bbf35b2b5b35cf9259547c989243bc1935bd909f085c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-bigint-dig v0.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling num-bigint-dig v0.4.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling rsa v0.5.0 [INFO] [stderr] Compiling rsa-der v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.68s [INFO] running `Command { std: "docker" "inspect" "28a7537e90c84a39392bbf35b2b5b35cf9259547c989243bc1935bd909f085c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a7537e90c84a39392bbf35b2b5b35cf9259547c989243bc1935bd909f085c9", kill_on_drop: false }` [INFO] [stdout] 28a7537e90c84a39392bbf35b2b5b35cf9259547c989243bc1935bd909f085c9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9260a780de64996cc7fa7dd5cbf3bad475b02b9c87bfee8e2b448763775bd137 [INFO] running `Command { std: "docker" "start" "-a" "9260a780de64996cc7fa7dd5cbf3bad475b02b9c87bfee8e2b448763775bd137", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsa_der-5f831a307bb500bb) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_public_key_from_der ... ok [INFO] [stdout] test tests::test_public_key_to_der ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] [stderr] Doc-tests rsa_der [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - public_key_to_der (line 39) ... FAILED [INFO] [stdout] test src/lib.rs - public_key_from_der (line 134) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - public_key_to_der (line 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rsa::RSAPrivateKey` [INFO] [stdout] --> src/lib.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 7 | use rsa::{RSAPrivateKey, PublicKey}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `RSAPrivateKey` in the root [INFO] [stdout] | help: a similar name exists in the module: `RsaPrivateKey` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - public_key_from_der (line 134) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rsa::RSAPublicKey` [INFO] [stdout] --> src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rsa::RSAPublicKey; [INFO] [stdout] | ^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `RsaPublicKey` [INFO] [stdout] | no `RSAPublicKey` in the root [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rsa::RSAPrivateKey` [INFO] [stdout] --> src/lib.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 5 | use rsa::{RSAPrivateKey, PublicKey}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `RSAPrivateKey` in the root [INFO] [stdout] | help: a similar name exists in the module: `RsaPrivateKey` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `n` found for opaque type `impl PublicKey` in the current scope [INFO] [stdout] --> src/lib.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 14 | let der_bytes = rsa_der::public_key_to_der(&key.n().to_bytes_be(), &key.e().to_bytes_be()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rsa-0.5.0/src/key.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn n(&self) -> &BigUint; [INFO] [stdout] | - the method is available for `impl PublicKey` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `PublicKeyParts` which provides `n` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use rsa::PublicKeyParts; [INFO] [stdout] | [INFO] [stdout] help: there is a method `e` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - let der_bytes = rsa_der::public_key_to_der(&key.n().to_bytes_be(), &key.e().to_bytes_be()); [INFO] [stdout] 14 + let der_bytes = rsa_der::public_key_to_der(&key.e().to_bytes_be(), &key.e().to_bytes_be()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `e` found for opaque type `impl PublicKey` in the current scope [INFO] [stdout] --> src/lib.rs:22:73 [INFO] [stdout] | [INFO] [stdout] 14 | let der_bytes = rsa_der::public_key_to_der(&key.n().to_bytes_be(), &key.e().to_bytes_be()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rsa-0.5.0/src/key.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn e(&self) -> &BigUint; [INFO] [stdout] | - the method is available for `impl PublicKey` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `PublicKeyParts` which provides `e` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use rsa::PublicKeyParts; [INFO] [stdout] | [INFO] [stdout] help: there is a method `n` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - let der_bytes = rsa_der::public_key_to_der(&key.n().to_bytes_be(), &key.e().to_bytes_be()); [INFO] [stdout] 14 + let der_bytes = rsa_der::public_key_to_der(&key.n().to_bytes_be(), &key.n().to_bytes_be()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] src/lib.rs - public_key_from_der (line 134) [INFO] [stdout] src/lib.rs - public_key_to_der (line 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9260a780de64996cc7fa7dd5cbf3bad475b02b9c87bfee8e2b448763775bd137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9260a780de64996cc7fa7dd5cbf3bad475b02b9c87bfee8e2b448763775bd137", kill_on_drop: false }` [INFO] [stdout] 9260a780de64996cc7fa7dd5cbf3bad475b02b9c87bfee8e2b448763775bd137