[INFO] fetching crate rsa-der 0.2.1... [INFO] testing rsa-der-0.2.1 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate rsa-der 0.2.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate rsa-der 0.2.1 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsa-der 0.2.1 [INFO] finished tweaking crates.io crate rsa-der 0.2.1 [INFO] tweaked toml for crates.io crate rsa-der 0.2.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0da929ffa2d3716da672690332a7fd1c8088f1f0e2876c6626cdf55245f136a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e0da929ffa2d3716da672690332a7fd1c8088f1f0e2876c6626cdf55245f136a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0da929ffa2d3716da672690332a7fd1c8088f1f0e2876c6626cdf55245f136a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0da929ffa2d3716da672690332a7fd1c8088f1f0e2876c6626cdf55245f136a", kill_on_drop: false }` [INFO] [stdout] e0da929ffa2d3716da672690332a7fd1c8088f1f0e2876c6626cdf55245f136a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14e51f91836b88e9e89472879be187008be49310e31cc14dfe9ef86ce98fafea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "14e51f91836b88e9e89472879be187008be49310e31cc14dfe9ef86ce98fafea", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling rsa-der v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.92s [INFO] running `Command { std: "docker" "inspect" "14e51f91836b88e9e89472879be187008be49310e31cc14dfe9ef86ce98fafea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e51f91836b88e9e89472879be187008be49310e31cc14dfe9ef86ce98fafea", kill_on_drop: false }` [INFO] [stdout] 14e51f91836b88e9e89472879be187008be49310e31cc14dfe9ef86ce98fafea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49af1e21676b9f9c88259bc770636c2e54a9ff0d972e5f4dabb39efbc266b9be [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "49af1e21676b9f9c88259bc770636c2e54a9ff0d972e5f4dabb39efbc266b9be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling num-bigint-dig v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-bigint-dig v0.5.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v0.10.0 [INFO] [stderr] Compiling zeroize v0.10.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rsa v0.1.4 [INFO] [stderr] Compiling rsa-der v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 44.13s [INFO] running `Command { std: "docker" "inspect" "49af1e21676b9f9c88259bc770636c2e54a9ff0d972e5f4dabb39efbc266b9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49af1e21676b9f9c88259bc770636c2e54a9ff0d972e5f4dabb39efbc266b9be", kill_on_drop: false }` [INFO] [stdout] 49af1e21676b9f9c88259bc770636c2e54a9ff0d972e5f4dabb39efbc266b9be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fd780b9ee1aeeb1b8114a02ab2c9aca7c06c1fa050b72e9d7dd60493864cbe14 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd780b9ee1aeeb1b8114a02ab2c9aca7c06c1fa050b72e9d7dd60493864cbe14", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stdout] running 2 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rsa_der-6a4368ba41340290 [INFO] [stdout] test tests::test_public_key_to_der ... ok [INFO] [stdout] test tests::test_public_key_from_der ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests rsa-der [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 11) ... ok [INFO] [stdout] test src/lib.rs - public_key_from_der (line 134) ... FAILED [INFO] [stdout] test src/lib.rs - public_key_to_der (line 39) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - public_key_from_der (line 134) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 12 | let key = RSAPublicKey::new(BigUint::from_bytes_be(&n), BigUint::from_bytes_be(&e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `rsa::BigUint`, found struct `num_bigint_dig::BigUint` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `num_bigint_dig` are being used? [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:144:57 [INFO] [stdout] | [INFO] [stdout] 12 | let key = RSAPublicKey::new(BigUint::from_bytes_be(&n), BigUint::from_bytes_be(&e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `rsa::BigUint`, found struct `num_bigint_dig::BigUint` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `num_bigint_dig` are being used? [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - public_key_from_der (line 134) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "fd780b9ee1aeeb1b8114a02ab2c9aca7c06c1fa050b72e9d7dd60493864cbe14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd780b9ee1aeeb1b8114a02ab2c9aca7c06c1fa050b72e9d7dd60493864cbe14", kill_on_drop: false }` [INFO] [stdout] fd780b9ee1aeeb1b8114a02ab2c9aca7c06c1fa050b72e9d7dd60493864cbe14