[INFO] fetching crate rsa-der 0.2.1... [INFO] testing rsa-der-0.2.1 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate rsa-der 0.2.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate rsa-der 0.2.1 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-bigint-dig v0.3.0 [INFO] [stderr] Downloaded num-bigint-dig v0.4.0 [INFO] [stderr] Downloaded rsa v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d798755c9402f21c28fbde585b02647d1834c0ae117a7b48b8b7e4f8accbaa8 [INFO] running `Command { std: "docker" "start" "-a" "5d798755c9402f21c28fbde585b02647d1834c0ae117a7b48b8b7e4f8accbaa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d798755c9402f21c28fbde585b02647d1834c0ae117a7b48b8b7e4f8accbaa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d798755c9402f21c28fbde585b02647d1834c0ae117a7b48b8b7e4f8accbaa8", kill_on_drop: false }` [INFO] [stdout] 5d798755c9402f21c28fbde585b02647d1834c0ae117a7b48b8b7e4f8accbaa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 322e255bd7f8fe0ba489c04919ce79d1bc0f4d1ca9d7abcc6fbfc92f2873459f [INFO] running `Command { std: "docker" "start" "-a" "322e255bd7f8fe0ba489c04919ce79d1bc0f4d1ca9d7abcc6fbfc92f2873459f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [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] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 101 | Error::InvalidDer(e) => e.fmt(f)?, [INFO] [stdout] | ^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forbidden_lint_groups)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 101 | Error::InvalidDer(e) => e.fmt(f)?, [INFO] [stdout] | ^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 102 | Error::BitStringNotFound => f.write_str("RSA bit string not found in ASN.1 blocks")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 103 | Error::SequenceNotFound => f.write_str("ASN.1 sequence not found")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 104 | Error::ModulusNotFound => f.write_str("ASN.1 public key modulus not found")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 105 | Error::ExponentNotFound => f.write_str("ASN.1 public key exponent not found")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 107 | f.write_str("ASN.1 sequence did not contain exactly two values")? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 149 | let blocks = simple_asn1::from_der(der).map_err(Error::InvalidDer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 160 | let inner_asn = simple_asn1::from_der(bit_string).map_err(Error::InvalidDer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.25s [INFO] running `Command { std: "docker" "inspect" "322e255bd7f8fe0ba489c04919ce79d1bc0f4d1ca9d7abcc6fbfc92f2873459f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322e255bd7f8fe0ba489c04919ce79d1bc0f4d1ca9d7abcc6fbfc92f2873459f", kill_on_drop: false }` [INFO] [stdout] 322e255bd7f8fe0ba489c04919ce79d1bc0f4d1ca9d7abcc6fbfc92f2873459f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3e06ddbc41d9917facba422ad78131fcadedd1ca4512012d6d9501da2324d58 [INFO] running `Command { std: "docker" "start" "-a" "b3e06ddbc41d9917facba422ad78131fcadedd1ca4512012d6d9501da2324d58", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling num-bigint-dig v0.3.0 [INFO] [stderr] Compiling num-bigint-dig v0.4.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 101 | Error::InvalidDer(e) => e.fmt(f)?, [INFO] [stdout] | ^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forbidden_lint_groups)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 101 | Error::InvalidDer(e) => e.fmt(f)?, [INFO] [stdout] | ^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 102 | Error::BitStringNotFound => f.write_str("RSA bit string not found in ASN.1 blocks")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 103 | Error::SequenceNotFound => f.write_str("ASN.1 sequence not found")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 104 | Error::ModulusNotFound => f.write_str("ASN.1 public key modulus not found")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 105 | Error::ExponentNotFound => f.write_str("ASN.1 public key exponent not found")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 107 | f.write_str("ASN.1 sequence did not contain exactly two values")? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 149 | let blocks = simple_asn1::from_der(der).map_err(Error::InvalidDer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 160 | let inner_asn = simple_asn1::from_der(bit_string).map_err(Error::InvalidDer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rsa v0.1.2 [INFO] [stderr] Compiling rsa-der v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 101 | Error::InvalidDer(e) => e.fmt(f)?, [INFO] [stdout] | ^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forbidden_lint_groups)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 101 | Error::InvalidDer(e) => e.fmt(f)?, [INFO] [stdout] | ^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 102 | Error::BitStringNotFound => f.write_str("RSA bit string not found in ASN.1 blocks")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 103 | Error::SequenceNotFound => f.write_str("ASN.1 sequence not found")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 104 | Error::ModulusNotFound => f.write_str("ASN.1 public key modulus not found")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 105 | Error::ExponentNotFound => f.write_str("ASN.1 public key exponent not found")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 107 | f.write_str("ASN.1 sequence did not contain exactly two values")? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 149 | let blocks = simple_asn1::from_der(der).map_err(Error::InvalidDer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] --> src/lib.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stdout] | -------- `forbid` level set here [INFO] [stdout] ... [INFO] [stdout] 160 | let inner_asn = simple_asn1::from_der(bit_string).map_err(Error::InvalidDer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #81670 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.19s [INFO] running `Command { std: "docker" "inspect" "b3e06ddbc41d9917facba422ad78131fcadedd1ca4512012d6d9501da2324d58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e06ddbc41d9917facba422ad78131fcadedd1ca4512012d6d9501da2324d58", kill_on_drop: false }` [INFO] [stdout] b3e06ddbc41d9917facba422ad78131fcadedd1ca4512012d6d9501da2324d58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6bd19af80728921bcaa12ad8cb253a3ea5571f9ab924be094a26cc9562c45584 [INFO] running `Command { std: "docker" "start" "-a" "6bd19af80728921bcaa12ad8cb253a3ea5571f9ab924be094a26cc9562c45584", kill_on_drop: false }` [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:101:37 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 101 | Error::InvalidDer(e) => e.fmt(f)?, [INFO] [stderr] | ^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(forbidden_lint_groups)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:101:37 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 101 | Error::InvalidDer(e) => e.fmt(f)?, [INFO] [stderr] | ^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:102:41 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 102 | Error::BitStringNotFound => f.write_str("RSA bit string not found in ASN.1 blocks")?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:103:40 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 103 | Error::SequenceNotFound => f.write_str("ASN.1 sequence not found")?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:104:39 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 104 | Error::ModulusNotFound => f.write_str("ASN.1 public key modulus not found")?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:105:40 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 105 | Error::ExponentNotFound => f.write_str("ASN.1 public key exponent not found")?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:107:17 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 107 | f.write_str("ASN.1 sequence did not contain exactly two values")? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:149:18 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 149 | let blocks = simple_asn1::from_der(der).map_err(Error::InvalidDer)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:160:21 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 160 | let inner_asn = simple_asn1::from_der(bit_string).map_err(Error::InvalidDer)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stdout] running 2 tests [INFO] [stderr] --> src/lib.rs:101:37 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 101 | Error::InvalidDer(e) => e.fmt(f)?, [INFO] [stderr] | ^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(forbidden_lint_groups)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:101:37 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 101 | Error::InvalidDer(e) => e.fmt(f)?, [INFO] [stderr] | ^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:102:41 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 102 | Error::BitStringNotFound => f.write_str("RSA bit string not found in ASN.1 blocks")?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:103:40 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 103 | Error::SequenceNotFound => f.write_str("ASN.1 sequence not found")?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:104:39 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 104 | Error::ModulusNotFound => f.write_str("ASN.1 public key modulus not found")?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:105:40 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 105 | Error::ExponentNotFound => f.write_str("ASN.1 public key exponent not found")?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:107:17 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 107 | f.write_str("ASN.1 sequence did not contain exactly two values")? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:149:18 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 149 | let blocks = simple_asn1::from_der(der).map_err(Error::InvalidDer)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: allow(unreachable_code) incompatible with previous forbid [INFO] [stderr] --> src/lib.rs:160:21 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code, missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | -------- `forbid` level set here [INFO] [stderr] ... [INFO] [stderr] 160 | let inner_asn = simple_asn1::from_der(bit_string).map_err(Error::InvalidDer)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overruled by previous forbid [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #81670 [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rsa_der-fdfd4c3b7eb57259) [INFO] [stdout] test tests::test_public_key_from_der ... ok [INFO] [stderr] Doc-tests rsa-der [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.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 11) - compile ... ok [INFO] [stdout] test src/lib.rs - public_key_from_der (line 134) - compile ... 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 `num_bigint_dig::biguint::BigUint`, found struct `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 `num_bigint_dig::biguint::BigUint`, found struct `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; finished in 14.30s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6bd19af80728921bcaa12ad8cb253a3ea5571f9ab924be094a26cc9562c45584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd19af80728921bcaa12ad8cb253a3ea5571f9ab924be094a26cc9562c45584", kill_on_drop: false }` [INFO] [stdout] 6bd19af80728921bcaa12ad8cb253a3ea5571f9ab924be094a26cc9562c45584