[INFO] fetching crate rsa-der 0.2.1... [INFO] testing rsa-der-0.2.1 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate rsa-der 0.2.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rsa-der 0.2.1 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clear_on_drop v0.2.4 [INFO] [stderr] Downloaded rsa v0.1.2 [INFO] [stderr] Downloaded num-bigint-dig v0.3.0 [INFO] [stderr] Downloaded num-bigint-dig v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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] 9456daf7ac8248ca387d1b57eb8f07306e5ca8e6e43a8e839921b1053d55d789 [INFO] running `Command { std: "docker" "start" "-a" "9456daf7ac8248ca387d1b57eb8f07306e5ca8e6e43a8e839921b1053d55d789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9456daf7ac8248ca387d1b57eb8f07306e5ca8e6e43a8e839921b1053d55d789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9456daf7ac8248ca387d1b57eb8f07306e5ca8e6e43a8e839921b1053d55d789", kill_on_drop: false }` [INFO] [stdout] 9456daf7ac8248ca387d1b57eb8f07306e5ca8e6e43a8e839921b1053d55d789 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--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] 5441b81656651574b9318ac66e3f38877e8ee157f95e417e220beeea2a43d547 [INFO] running `Command { std: "docker" "start" "-a" "5441b81656651574b9318ac66e3f38877e8ee157f95e417e220beeea2a43d547", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling rsa-der v0.2.1 (/opt/rustwide/workdir) [INFO] [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 15.59s [INFO] running `Command { std: "docker" "inspect" "5441b81656651574b9318ac66e3f38877e8ee157f95e417e220beeea2a43d547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5441b81656651574b9318ac66e3f38877e8ee157f95e417e220beeea2a43d547", kill_on_drop: false }` [INFO] [stdout] 5441b81656651574b9318ac66e3f38877e8ee157f95e417e220beeea2a43d547 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea89a80be1e0ebefb6be87586d389611879ff1cf30e80d765784f7ef9d2e7347 [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" "ea89a80be1e0ebefb6be87586d389611879ff1cf30e80d765784f7ef9d2e7347", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling num-bigint-dig v0.3.0 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling num-bigint-dig v0.4.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_os v0.1.3 [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 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.26.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling synstructure v0.12.5 [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 40.26s [INFO] running `Command { std: "docker" "inspect" "ea89a80be1e0ebefb6be87586d389611879ff1cf30e80d765784f7ef9d2e7347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea89a80be1e0ebefb6be87586d389611879ff1cf30e80d765784f7ef9d2e7347", kill_on_drop: false }` [INFO] [stdout] ea89a80be1e0ebefb6be87586d389611879ff1cf30e80d765784f7ef9d2e7347 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5f436889452a7a31ed5a93985416143d213091404bde152dbf86c8459102bf1 [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" "f5f436889452a7a31ed5a93985416143d213091404bde152dbf86c8459102bf1", 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: `rsa-der` (lib) generated 9 warnings [INFO] [stderr] warning: `rsa-der` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rsa_der-7e22267d06770cc6) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_public_key_to_der ... ok [INFO] [stdout] test tests::test_public_key_from_der ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] Doc-tests rsa-der [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 20.56s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f5f436889452a7a31ed5a93985416143d213091404bde152dbf86c8459102bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f436889452a7a31ed5a93985416143d213091404bde152dbf86c8459102bf1", kill_on_drop: false }` [INFO] [stdout] f5f436889452a7a31ed5a93985416143d213091404bde152dbf86c8459102bf1