[INFO] cloning repository https://github.com/mmilburn/new-hope-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmilburn/new-hope-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmilburn%2Fnew-hope-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmilburn%2Fnew-hope-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02998e7a49b3e93fd2f10156ad07601044e22cd3 [INFO] checking mmilburn/new-hope-rust against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmilburn%2Fnew-hope-rust" "/workspace/builds/worker-66/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-66/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmilburn/new-hope-rust on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmilburn/new-hope-rust [INFO] finished tweaking git repo https://github.com/mmilburn/new-hope-rust [INFO] tweaked toml for git repo https://github.com/mmilburn/new-hope-rust written to /workspace/builds/worker-66/source/Cargo.toml [INFO] crate git repo https://github.com/mmilburn/new-hope-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 778724e7433bcc8a5032679442b04b5c90197fce882fc42090fee0484af33318 [INFO] running `Command { std: "docker" "start" "-a" "778724e7433bcc8a5032679442b04b5c90197fce882fc42090fee0484af33318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "778724e7433bcc8a5032679442b04b5c90197fce882fc42090fee0484af33318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778724e7433bcc8a5032679442b04b5c90197fce882fc42090fee0484af33318", kill_on_drop: false }` [INFO] [stdout] 778724e7433bcc8a5032679442b04b5c90197fce882fc42090fee0484af33318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee9fcc009204f1c3ba6ffb4a793fb3e247c7761f5d7f6e936efb5f15e7862b31 [INFO] running `Command { std: "docker" "start" "-a" "ee9fcc009204f1c3ba6ffb4a793fb3e247c7761f5d7f6e936efb5f15e7862b31", kill_on_drop: false }` [INFO] [stderr] Checking new-hope-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `verify` [INFO] [stdout] --> src/verify.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn verify(a: &Box<[u8]>, b: &Box<[u8]>, len: usize) -> bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cmov` [INFO] [stdout] --> src/verify.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn cmov(r: &mut Box<[u8]>, x: &[u8], len: usize, b: bool) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QINV` [INFO] [stdout] --> src/ntt/reduce.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const QINV: u32 = 12287; // -inverse_mod(p,2^18) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RLOG` [INFO] [stdout] --> src/ntt/reduce.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | const RLOG: u32 = 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NEWHOPE_Q` [INFO] [stdout] --> src/ntt/reduce.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub static NEWHOPE_Q: u16 = 12289; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `montgomery_reduce` [INFO] [stdout] --> src/ntt/reduce.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn montgomery_reduce(mut a: u32) -> u16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BITREV_TABLE_512` [INFO] [stdout] --> src/ntt.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / const BITREV_TABLE_512: [u16; 512] = [INFO] [stdout] 4 | | [ [INFO] [stdout] 5 | | 0,256,128,384, 64,320,192,448, 32,288,160,416, 96,352,224,480, 16,272,144, [INFO] [stdout] 6 | | 400, 80,336,208,464, 48,304,176,432,112,368,240,496, 8,264,136,392, 72,328, [INFO] [stdout] ... | [INFO] [stdout] 31 | | 239,495, 31,287,159,415, 95,351,223,479, 63,319,191,447,127,383,255,511 [INFO] [stdout] 32 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BITREV_TABLE_1024` [INFO] [stdout] --> src/ntt.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / const BITREV_TABLE_1024: [u16; 1024] = [INFO] [stdout] 35 | | [ [INFO] [stdout] 36 | | 0, 512, 256, 768, 128, 640, 384, 896, 64, 576, 320, 832, 192, 704, 448, [INFO] [stdout] 37 | | 960, 32, 544, 288, 800, 160, 672, 416, 928, 96, 608, 352, 864, 224, 736, [INFO] [stdout] ... | [INFO] [stdout] 104 | | 255, 767, 511,1023 [INFO] [stdout] 105 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bitrev_vector` [INFO] [stdout] --> src/ntt.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn bitrev_vector(poly: &mut Box<[u16]>, bitrev_table: &[u16]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mul_coefficients` [INFO] [stdout] --> src/ntt.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn mul_coefficients(poly: &mut Box<[u16]>, factors: &[u16]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ntt` [INFO] [stdout] --> src/ntt.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn ntt(a: &mut Box<[u16]>, omega: &[u16], size: usize, q: u16) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ntt_wing` [INFO] [stdout] --> src/ntt.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn ntt_wing(a: &mut Box<[u16]>, omega: &[u16], size: usize, distance: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NROUNDS` [INFO] [stdout] --> src/fips202.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const NROUNDS: usize = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHAKE128_RATE` [INFO] [stdout] --> src/fips202.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | const SHAKE128_RATE: usize = 168; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHAKE256_RATE` [INFO] [stdout] --> src/fips202.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const SHAKE256_RATE: usize = 136; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `KECCAK_F_ROUND_CONSTANTS` [INFO] [stdout] --> src/fips202.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / static KECCAK_F_ROUND_CONSTANTS: [u64; 24] = [INFO] [stdout] 7 | | [ [INFO] [stdout] 8 | | 0x0000000000000001, [INFO] [stdout] 9 | | 0x0000000000008082, [INFO] [stdout] ... | [INFO] [stdout] 31 | | 0x8000000080008008 [INFO] [stdout] 32 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Squeeze` [INFO] [stdout] --> src/fips202.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Squeeze { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load64` [INFO] [stdout] --> src/fips202.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn load64(x: &Vec, offset: usize) -> u64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `store64` [INFO] [stdout] --> src/fips202.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn store64(u: u64) -> Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `keccak_f1600_state_permute` [INFO] [stdout] --> src/fips202.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn keccak_f1600_state_permute(state: &Vec) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `keccak_absorb` [INFO] [stdout] --> src/fips202.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn keccak_absorb(rate: usize, m: &Vec, p: u8) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `keccak_squeezeblocks` [INFO] [stdout] --> src/fips202.rs:396:4 [INFO] [stdout] | [INFO] [stdout] 396 | fn keccak_squeezeblocks(num_blocks: usize, state: &Vec, rate: usize) -> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shake128_absorb` [INFO] [stdout] --> src/fips202.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | fn shake128_absorb(msg: &Vec) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shake128_squeezeblocks` [INFO] [stdout] --> src/fips202.rs:421:4 [INFO] [stdout] | [INFO] [stdout] 421 | fn shake128_squeezeblocks(num_blocks: usize, state: &Vec ) -> Squeeze [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shake256` [INFO] [stdout] --> src/fips202.rs:426:4 [INFO] [stdout] | [INFO] [stdout] 426 | fn shake256(outlen: usize, input: &Vec) -> Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `randombytes` [INFO] [stdout] --> src/randombytes.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn randombytes(xlen: usize) -> Vec [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_bytes` [INFO] [stdout] --> src/randombytes.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn read_bytes(xlen: usize) -> Result, io::Error> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ntt` [INFO] [stdout] --> src/ntt.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn ntt(a: &mut Box<[u16]>, omega: &[u16], size: usize, q: u16) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ntt_wing` [INFO] [stdout] --> src/ntt.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn ntt_wing(a: &mut Box<[u16]>, omega: &[u16], size: usize, distance: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "ee9fcc009204f1c3ba6ffb4a793fb3e247c7761f5d7f6e936efb5f15e7862b31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9fcc009204f1c3ba6ffb4a793fb3e247c7761f5d7f6e936efb5f15e7862b31", kill_on_drop: false }` [INFO] [stdout] ee9fcc009204f1c3ba6ffb4a793fb3e247c7761f5d7f6e936efb5f15e7862b31