[INFO] fetching crate ntrumls-plus 0.0.6... [INFO] checking ntrumls-plus-0.0.6 against beta for pr-78714 [INFO] extracting crate ntrumls-plus 0.0.6 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate ntrumls-plus 0.0.6 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ntrumls-plus 0.0.6 [INFO] finished tweaking crates.io crate ntrumls-plus 0.0.6 [INFO] tweaked toml for crates.io crate ntrumls-plus 0.0.6 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d995c82e7d07078921ed693aa3315b0797624b5d0cb937021569e5f264e9d49e [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" "d995c82e7d07078921ed693aa3315b0797624b5d0cb937021569e5f264e9d49e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d995c82e7d07078921ed693aa3315b0797624b5d0cb937021569e5f264e9d49e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d995c82e7d07078921ed693aa3315b0797624b5d0cb937021569e5f264e9d49e", kill_on_drop: false }` [INFO] [stdout] d995c82e7d07078921ed693aa3315b0797624b5d0cb937021569e5f264e9d49e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0292a5232c8b52abbad46e637ceb8774650b8967cf295fe95af3818c2530292 [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" "c0292a5232c8b52abbad46e637ceb8774650b8967cf295fe95af3818c2530292", kill_on_drop: false }` [INFO] [stderr] Compiling ntrumls-plus v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `gcc::Build`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let mut base_config = gcc::Build::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let mut base_config = gcc::Build::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: depend/NTRUMLS/src/crypto_hash_sha512.c: In function 'crypto_hash_sha512': [INFO] [stderr] warning: depend/NTRUMLS/src/crypto_hash_sha512.c:279:16: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 279 | for (i = 0;i < inlen;++i) padded[i] = in[i]; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: depend/NTRUMLS/src/crypto_stream.c: In function 'crypto_stream': [INFO] [stderr] warning: depend/NTRUMLS/src/crypto_stream.c:168:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 168 | for (i = 0;i < clen;++i) c[i] = block[i]; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: depend/NTRUMLS/src/convert.c: In function 'bits_2_int64_trits': [INFO] [stderr] warning: depend/NTRUMLS/src/convert.c:145:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'const long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: 145 | if((N+4)/5 != in_len) [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: depend/NTRUMLS/src/pack.c: In function 'pack_signature': [INFO] [stderr] warning: depend/NTRUMLS/src/pack.c:217:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: 217 | if(blob_len != SIGNATURE_BYTES(P)) [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: depend/NTRUMLS/src/pack.c: In function 'unpack_signature': [INFO] [stderr] warning: depend/NTRUMLS/src/pack.c:238:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: 238 | if(blob_len != SIGNATURE_BYTES(P)) [INFO] [stderr] warning: | ^~ [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_uchar, c_char, uint8_t, int8_t, uint16_t, int64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int8_t`: Use i8 instead. [INFO] [stdout] --> src/ffi.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_uchar, c_char, uint8_t, int8_t, uint16_t, int64_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_uchar, c_char, uint8_t, int8_t, uint16_t, int64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_uchar, c_char, uint8_t, int8_t, uint16_t, int64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub oid: [uint8_t; 3], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub n_bits: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub q_bits: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub n: uint16_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int8_t`: Use i8 instead. [INFO] [stdout] --> src/ffi.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub p: int8_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub q: int64_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub b_s: int64_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub b_t: int64_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | pub norm_bound_s: int64_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub norm_bound_t: int64_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub d1: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | pub d2: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | pub d3: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | pub padded_n: uint16_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_uchar, c_char, uint8_t, int8_t, uint16_t, int64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int8_t`: Use i8 instead. [INFO] [stdout] --> src/ffi.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_uchar, c_char, uint8_t, int8_t, uint16_t, int64_t}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_uchar, c_char, uint8_t, int8_t, uint16_t, int64_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{c_int, c_uchar, c_char, uint8_t, int8_t, uint16_t, int64_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub oid: [uint8_t; 3], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub n_bits: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub q_bits: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub n: uint16_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int8_t`: Use i8 instead. [INFO] [stdout] --> src/ffi.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub p: int8_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub q: int64_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub b_s: int64_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub b_t: int64_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | pub norm_bound_s: int64_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/ffi.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub norm_bound_t: int64_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub d1: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | pub d2: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ffi.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | pub d3: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/ffi.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | pub padded_n: uint16_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_de` [INFO] [stdout] --> src/lib.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | let pk_de = serde_json::from_str::<::PublicKey>(&pk_se).expect("failed to deserialize public key"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_de` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_de` [INFO] [stdout] --> src/lib.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let sk_de = serde_json::from_str::<::PrivateKey>(&sk_se).expect("failed to deserialize private key"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | bytes: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytes` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | bytes: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.64s [INFO] running `Command { std: "docker" "inspect" "c0292a5232c8b52abbad46e637ceb8774650b8967cf295fe95af3818c2530292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0292a5232c8b52abbad46e637ceb8774650b8967cf295fe95af3818c2530292", kill_on_drop: false }` [INFO] [stdout] c0292a5232c8b52abbad46e637ceb8774650b8967cf295fe95af3818c2530292