[INFO] fetching crate rsa-der 0.2.1... [INFO] checking rsa-der-0.2.1 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate rsa-der 0.2.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate rsa-der 0.2.1 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rsa v0.1.2 [INFO] [stderr] Downloaded num-bigint-dig v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 304c094375155904a8c47e15a36a622e0d45d8a81e6604397a69f3730dc58fc8 [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" "304c094375155904a8c47e15a36a622e0d45d8a81e6604397a69f3730dc58fc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "304c094375155904a8c47e15a36a622e0d45d8a81e6604397a69f3730dc58fc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304c094375155904a8c47e15a36a622e0d45d8a81e6604397a69f3730dc58fc8", kill_on_drop: false }` [INFO] [stdout] 304c094375155904a8c47e15a36a622e0d45d8a81e6604397a69f3730dc58fc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] ca24ee5d34272fe1c95824df1c0690c972dc794db3ca5eaf1802c3243c6b8181 [INFO] running `Command { std: "docker" "start" "-a" "ca24ee5d34272fe1c95824df1c0690c972dc794db3ca5eaf1802c3243c6b8181", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling num-bigint-dig v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling num-bigint-dig v0.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rsa-der v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking foreign-types v0.3.2 [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] Checking smallvec v0.6.14 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking rsa v0.1.2 [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 8.30s [INFO] running `Command { std: "docker" "inspect" "ca24ee5d34272fe1c95824df1c0690c972dc794db3ca5eaf1802c3243c6b8181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca24ee5d34272fe1c95824df1c0690c972dc794db3ca5eaf1802c3243c6b8181", kill_on_drop: false }` [INFO] [stdout] ca24ee5d34272fe1c95824df1c0690c972dc794db3ca5eaf1802c3243c6b8181