[INFO] fetching crate rsa-der 0.2.1... [INFO] testing rsa-der-0.2.1 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate rsa-der 0.2.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rsa-der 0.2.1 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0e673dfbbbd428ab2d2b8d4b1c574d36bcfd4bbc0f3698e097ed4dcc1bac68c5 [INFO] running `Command { std: "docker" "start" "-a" "0e673dfbbbd428ab2d2b8d4b1c574d36bcfd4bbc0f3698e097ed4dcc1bac68c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e673dfbbbd428ab2d2b8d4b1c574d36bcfd4bbc0f3698e097ed4dcc1bac68c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e673dfbbbd428ab2d2b8d4b1c574d36bcfd4bbc0f3698e097ed4dcc1bac68c5", kill_on_drop: false }` [INFO] [stdout] 0e673dfbbbd428ab2d2b8d4b1c574d36bcfd4bbc0f3698e097ed4dcc1bac68c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eca8a17c513e5fbe9d41f95548893ac90a5b47a7335b521f4816b09265c00e5 [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" "6eca8a17c513e5fbe9d41f95548893ac90a5b47a7335b521f4816b09265c00e5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [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 12.38s [INFO] running `Command { std: "docker" "inspect" "6eca8a17c513e5fbe9d41f95548893ac90a5b47a7335b521f4816b09265c00e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eca8a17c513e5fbe9d41f95548893ac90a5b47a7335b521f4816b09265c00e5", kill_on_drop: false }` [INFO] [stdout] 6eca8a17c513e5fbe9d41f95548893ac90a5b47a7335b521f4816b09265c00e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b287e650aa2ec686c9be52c979c0f4b0239cef78e55c71deda20b068dfb9667b [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" "b287e650aa2ec686c9be52c979c0f4b0239cef78e55c71deda20b068dfb9667b", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling num-bigint-dig v0.3.0 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling num-bigint-dig v0.4.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling smallvec v0.6.14 [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 foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling object v0.25.2 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling synstructure v0.12.4 [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 48.04s [INFO] running `Command { std: "docker" "inspect" "b287e650aa2ec686c9be52c979c0f4b0239cef78e55c71deda20b068dfb9667b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b287e650aa2ec686c9be52c979c0f4b0239cef78e55c71deda20b068dfb9667b", kill_on_drop: false }` [INFO] [stdout] b287e650aa2ec686c9be52c979c0f4b0239cef78e55c71deda20b068dfb9667b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] de6a62263d8fcdcb43a7a8a4989d4c1f2acb44de9ac623937787707864db8428 [INFO] running `Command { std: "docker" "start" "-a" "de6a62263d8fcdcb43a7a8a4989d4c1f2acb44de9ac623937787707864db8428", 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] [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rsa_der-4ea0e098fd39da78) [INFO] [stdout] [INFO] [stdout] running 2 tests [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.24s [INFO] [stdout] [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 `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 7.58s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "de6a62263d8fcdcb43a7a8a4989d4c1f2acb44de9ac623937787707864db8428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6a62263d8fcdcb43a7a8a4989d4c1f2acb44de9ac623937787707864db8428", kill_on_drop: false }` [INFO] [stdout] de6a62263d8fcdcb43a7a8a4989d4c1f2acb44de9ac623937787707864db8428