[INFO] fetching crate rsa-der 0.3.0... [INFO] checking rsa-der-0.3.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate rsa-der 0.3.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate rsa-der 0.3.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsa-der 0.3.0 [INFO] finished tweaking crates.io crate rsa-der 0.3.0 [INFO] tweaked toml for crates.io crate rsa-der 0.3.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c52570397dc9d6ac451e0f628a589d45c28131b169c51d8073d48e10d0c8ebe1 [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" "c52570397dc9d6ac451e0f628a589d45c28131b169c51d8073d48e10d0c8ebe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c52570397dc9d6ac451e0f628a589d45c28131b169c51d8073d48e10d0c8ebe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c52570397dc9d6ac451e0f628a589d45c28131b169c51d8073d48e10d0c8ebe1", kill_on_drop: false }` [INFO] [stdout] c52570397dc9d6ac451e0f628a589d45c28131b169c51d8073d48e10d0c8ebe1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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] c3bc5164cb7dab49a4f2ff6d2f02cf089ccdb9d5439f3c3d62a936e1e6441f9c [INFO] running `Command { std: "docker" "start" "-a" "c3bc5164cb7dab49a4f2ff6d2f02cf089ccdb9d5439f3c3d62a936e1e6441f9c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking base64ct v1.1.1 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling num-bigint-dig v0.4.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking pem-rfc7468 v0.2.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking der v0.4.4 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking pkcs1 v0.2.4 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking simple_asn1 v0.6.1 [INFO] [stderr] Checking rsa v0.5.0 [INFO] [stderr] Checking rsa-der v0.3.0 (/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: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: 8 warnings emitted [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] = 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: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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.98s [INFO] running `Command { std: "docker" "inspect" "c3bc5164cb7dab49a4f2ff6d2f02cf089ccdb9d5439f3c3d62a936e1e6441f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3bc5164cb7dab49a4f2ff6d2f02cf089ccdb9d5439f3c3d62a936e1e6441f9c", kill_on_drop: false }` [INFO] [stdout] c3bc5164cb7dab49a4f2ff6d2f02cf089ccdb9d5439f3c3d62a936e1e6441f9c