[INFO] fetching crate sodium-sys 0.0.4... [INFO] checking sodium-sys-0.0.4 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate sodium-sys 0.0.4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sodium-sys 0.0.4 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sodium-sys 0.0.4 [INFO] finished tweaking crates.io crate sodium-sys 0.0.4 [INFO] tweaked toml for crates.io crate sodium-sys 0.0.4 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02890ffada1106f9a59d0d2289c7e178460986241335109de8f6ddfbc80da202 [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" "02890ffada1106f9a59d0d2289c7e178460986241335109de8f6ddfbc80da202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02890ffada1106f9a59d0d2289c7e178460986241335109de8f6ddfbc80da202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02890ffada1106f9a59d0d2289c7e178460986241335109de8f6ddfbc80da202", kill_on_drop: false }` [INFO] [stdout] 02890ffada1106f9a59d0d2289c7e178460986241335109de8f6ddfbc80da202 [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 2bc09a54f50cd6dbde4cf9dfc83dd72bfe01fe7835f53c87880b99b1f9893f83 [INFO] running `Command { std: "docker" "start" "-a" "2bc09a54f50cd6dbde4cf9dfc83dd72bfe01fe7835f53c87880b99b1f9893f83", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling sodium-sys v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypto/utils/secmem.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | Ok(try!(str::from_utf8(slice)).to_string()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypto/utils/version.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(try!(str::from_utf8(slice))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | uint64_t [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:342:58 [INFO] [stdout] | [INFO] [stdout] 342 | ... n as uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:343:58 [INFO] [stdout] | [INFO] [stdout] 343 | ... r as uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:344:58 [INFO] [stdout] | [INFO] [stdout] 344 | ... p as uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:104:53 [INFO] [stdout] | [INFO] [stdout] 104 | fn crypto_pwhash_scryptsalsa208sha256(out: *mut 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/crypto/hash/passhash.rs:106:58 [INFO] [stdout] | [INFO] [stdout] 106 | ... passwd: *const 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/crypto/hash/passhash.rs:111:57 [INFO] [stdout] | [INFO] [stdout] 111 | fn crypto_pwhash_scryptsalsa208sha256_str(out: *mut 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/crypto/hash/passhash.rs:112:62 [INFO] [stdout] | [INFO] [stdout] 112 | ... passwd: *const 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/crypto/hash/passhash.rs:116:67 [INFO] [stdout] | [INFO] [stdout] 116 | fn crypto_pwhash_scryptsalsa208sha256_str_verify(str_: *const 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/crypto/hash/passhash.rs:117:69 [INFO] [stdout] | [INFO] [stdout] 117 | ... passwd: *const 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/crypto/hash/passhash.rs:120:61 [INFO] [stdout] | [INFO] [stdout] 120 | fn crypto_pwhash_scryptsalsa208sha256_ll(passwd: *const 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/crypto/hash/passhash.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | ... salt: *const uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | ... N: uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | ... r: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:126:49 [INFO] [stdout] | [INFO] [stdout] 126 | ... p: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:127:56 [INFO] [stdout] | [INFO] [stdout] 127 | ... buf: *mut uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use libc::{c_void, size_t, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn random() -> uint32_t { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn uniform(upper_bound: uint32_t) -> uint32_t { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn uniform(upper_bound: uint32_t) -> uint32_t { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | fn randombytes_random() -> uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | fn randombytes_uniform(upper_bound: uint32_t) -> uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | fn randombytes_uniform(upper_bound: uint32_t) -> uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut sk = secmem::malloc(SECRETKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let mut sk = secmem::malloc(SECRETKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut nsk = secmem::malloc(SECRETKEYBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut ssk = secmem::malloc(BEFORENMBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let mut ciphertext = secmem::malloc(MACBYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | let mut message = secmem::malloc(ciphertext.len() - MACBYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | let mut ciphertext = secmem::malloc(message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | let mut mac = secmem::malloc(MACBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | let mut ciphertext = secmem::malloc(MACBYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | let mut message = secmem::malloc(ciphertext.len() - MACBYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | let mut ciphertext = secmem::malloc(message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | let mut mac = secmem::malloc(MACBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 726 | let mut padded = secmem::malloc(ZEROBYTES + message.len()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | let mut ciphertext = secmem::malloc(padded.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:810:9 [INFO] [stdout] | [INFO] [stdout] 810 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | let mut padded = secmem::malloc(ZEROBYTES + message.len()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:884:9 [INFO] [stdout] | [INFO] [stdout] 884 | let mut ciphertext = secmem::malloc(padded.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:954:9 [INFO] [stdout] | [INFO] [stdout] 954 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sealbox.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut ciphertext = secmem::malloc(SEALBYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sealbox.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut message = secmem::malloc(ciphertext.len() - SEALBYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut signedmessage = secmem::malloc(BYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut message = secmem::malloc(signedmessage.len() - BYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut signature = secmem::malloc(BYTES); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut sk = secmem::malloc(SECRETKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut sk = secmem::malloc(SECRETKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut seed = secmem::malloc(SEEDBYTES); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/generichash.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut hash = secmem::malloc(outlen); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/passhash.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | let mut key = secmem::malloc(keylen); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/passhash.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | let mut out = secmem::malloc(STRBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/passhash.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let mut out = secmem::malloc(outlen); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/sha2.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut out = secmem::malloc(SHA256_BYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/sha2.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let mut out = secmem::malloc(SHA512_BYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/shorthash.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut hash = secmem::malloc(BYTES); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/aead.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let mut ciphertext = secmem::malloc(ABYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/aead.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let mut message = secmem::malloc(ciphertext.len() - ABYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/auth.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut output = secmem::malloc(BYTES); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut ciphertext = secmem::malloc(MACBYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut message = secmem::malloc(ciphertext.len() - MACBYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let mut ciphertext = secmem::malloc(message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let mut mac = secmem::malloc(MACBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | let mut padded = secmem::malloc(ZEROBYTES + message.len()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | let mut ciphertext = secmem::malloc(padded.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/hmacsha2.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut output = secmem::malloc(HMACSHA256_BYTES); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/hmacsha2.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | let mut output = secmem::malloc(HMACSHA512_BYTES); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/hmacsha2.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | let mut output = secmem::malloc(HMACSHA512256_BYTES); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/utils/secmem.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut buf = &mut bufvec[..]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/utils/secmem.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let mut buf = &mut bufvec[..]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 84 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v0.1.80 [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> benches/lib.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Once,ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/lib.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Once,ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> benches/lib.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | static START: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> tests/lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | static START: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypto/utils/secmem.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | Ok(try!(str::from_utf8(slice)).to_string()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypto/utils/version.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(try!(str::from_utf8(slice))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | uint64_t [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:342:58 [INFO] [stdout] | [INFO] [stdout] 342 | ... n as uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:343:58 [INFO] [stdout] | [INFO] [stdout] 343 | ... r as uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:344:58 [INFO] [stdout] | [INFO] [stdout] 344 | ... p as uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:104:53 [INFO] [stdout] | [INFO] [stdout] 104 | fn crypto_pwhash_scryptsalsa208sha256(out: *mut 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/crypto/hash/passhash.rs:106:58 [INFO] [stdout] | [INFO] [stdout] 106 | ... passwd: *const 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/crypto/hash/passhash.rs:111:57 [INFO] [stdout] | [INFO] [stdout] 111 | fn crypto_pwhash_scryptsalsa208sha256_str(out: *mut 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/crypto/hash/passhash.rs:112:62 [INFO] [stdout] | [INFO] [stdout] 112 | ... passwd: *const 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/crypto/hash/passhash.rs:116:67 [INFO] [stdout] | [INFO] [stdout] 116 | fn crypto_pwhash_scryptsalsa208sha256_str_verify(str_: *const 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/crypto/hash/passhash.rs:117:69 [INFO] [stdout] | [INFO] [stdout] 117 | ... passwd: *const 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/crypto/hash/passhash.rs:120:61 [INFO] [stdout] | [INFO] [stdout] 120 | fn crypto_pwhash_scryptsalsa208sha256_ll(passwd: *const 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/crypto/hash/passhash.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | ... salt: *const uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | ... N: uint64_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | ... r: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:126:49 [INFO] [stdout] | [INFO] [stdout] 126 | ... p: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/crypto/hash/passhash.rs:127:56 [INFO] [stdout] | [INFO] [stdout] 127 | ... buf: *mut uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use libc::{c_void, size_t, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn random() -> uint32_t { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn uniform(upper_bound: uint32_t) -> uint32_t { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn uniform(upper_bound: uint32_t) -> uint32_t { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | fn randombytes_random() -> uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | fn randombytes_uniform(upper_bound: uint32_t) -> uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/crypto/utils/randombytes.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | fn randombytes_uniform(upper_bound: uint32_t) -> uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut sk = secmem::malloc(SECRETKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let mut sk = secmem::malloc(SECRETKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut nsk = secmem::malloc(SECRETKEYBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TEST_MULTI_MESSAGE` [INFO] [stdout] --> benches/crypto/symmetrickey/hmacsha2.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const TEST_MULTI_MESSAGE: &'static [u8] = b"testtest"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/auth_keypair.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut ssk = secmem::malloc(BEFORENMBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let mut ciphertext = secmem::malloc(MACBYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | let mut message = secmem::malloc(ciphertext.len() - MACBYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | let mut ciphertext = secmem::malloc(message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | let mut mac = secmem::malloc(MACBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | let mut ciphertext = secmem::malloc(MACBYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | let mut message = secmem::malloc(ciphertext.len() - MACBYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | let mut ciphertext = secmem::malloc(message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | let mut mac = secmem::malloc(MACBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 726 | let mut padded = secmem::malloc(ZEROBYTES + message.len()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | let mut ciphertext = secmem::malloc(padded.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:810:9 [INFO] [stdout] | [INFO] [stdout] 810 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | let mut padded = secmem::malloc(ZEROBYTES + message.len()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:884:9 [INFO] [stdout] | [INFO] [stdout] 884 | let mut ciphertext = secmem::malloc(padded.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/authenc.rs:954:9 [INFO] [stdout] | [INFO] [stdout] 954 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sealbox.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let mut ciphertext = secmem::malloc(SEALBYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sealbox.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut message = secmem::malloc(ciphertext.len() - SEALBYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut signedmessage = secmem::malloc(BYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut message = secmem::malloc(signedmessage.len() - BYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut signature = secmem::malloc(BYTES); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut sk = secmem::malloc(SECRETKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut sk = secmem::malloc(SECRETKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut seed = secmem::malloc(SEEDBYTES); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/asymmetrickey/sign_keypair.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let mut pk = secmem::malloc(PUBLICKEYBYTES); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/generichash.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut hash = secmem::malloc(outlen); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/passhash.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | let mut key = secmem::malloc(keylen); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/passhash.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | let mut out = secmem::malloc(STRBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/passhash.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let mut out = secmem::malloc(outlen); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/sha2.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut out = secmem::malloc(SHA256_BYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/sha2.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let mut out = secmem::malloc(SHA512_BYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/hash/shorthash.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut hash = secmem::malloc(BYTES); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/aead.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let mut ciphertext = secmem::malloc(ABYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/aead.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let mut message = secmem::malloc(ciphertext.len() - ABYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/auth.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut output = secmem::malloc(BYTES); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut ciphertext = secmem::malloc(MACBYTES + message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut message = secmem::malloc(ciphertext.len() - MACBYTES); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let mut ciphertext = secmem::malloc(message.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let mut mac = secmem::malloc(MACBYTES); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | let mut padded = secmem::malloc(ZEROBYTES + message.len()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | let mut ciphertext = secmem::malloc(padded.len()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/authenc.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let mut message = secmem::malloc(ciphertext.len()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/hmacsha2.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let mut output = secmem::malloc(HMACSHA256_BYTES); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/hmacsha2.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | let mut output = secmem::malloc(HMACSHA512_BYTES); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/symmetrickey/hmacsha2.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | let mut output = secmem::malloc(HMACSHA512256_BYTES); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/utils/secmem.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut buf = &mut bufvec[..]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto/utils/secmem.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let mut buf = &mut bufvec[..]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 84 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.33s [INFO] running `Command { std: "docker" "inspect" "2bc09a54f50cd6dbde4cf9dfc83dd72bfe01fe7835f53c87880b99b1f9893f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc09a54f50cd6dbde4cf9dfc83dd72bfe01fe7835f53c87880b99b1f9893f83", kill_on_drop: false }` [INFO] [stdout] 2bc09a54f50cd6dbde4cf9dfc83dd72bfe01fe7835f53c87880b99b1f9893f83