[INFO] fetching crate sodium-sys 0.0.4... [INFO] building sodium-sys-0.0.4 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate sodium-sys 0.0.4 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate sodium-sys 0.0.4 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding regex v0.1.80 (available: v1.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4658654f5d70ac0b063aaaa6c0e0f78d3a1a41f8e683292d10bffac82beb9e89 [INFO] running `Command { std: "docker" "start" "-a" "4658654f5d70ac0b063aaaa6c0e0f78d3a1a41f8e683292d10bffac82beb9e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4658654f5d70ac0b063aaaa6c0e0f78d3a1a41f8e683292d10bffac82beb9e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4658654f5d70ac0b063aaaa6c0e0f78d3a1a41f8e683292d10bffac82beb9e89", kill_on_drop: false }` [INFO] [stdout] 4658654f5d70ac0b063aaaa6c0e0f78d3a1a41f8e683292d10bffac82beb9e89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2a972ca971cd87146005a412ef7ef419d35482e5263648652f03ec92bf14812 [INFO] running `Command { std: "docker" "start" "-a" "b2a972ca971cd87146005a412ef7ef419d35482e5263648652f03ec92bf14812", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling sodium-sys v0.0.4 (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "b2a972ca971cd87146005a412ef7ef419d35482e5263648652f03ec92bf14812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a972ca971cd87146005a412ef7ef419d35482e5263648652f03ec92bf14812", kill_on_drop: false }` [INFO] [stdout] b2a972ca971cd87146005a412ef7ef419d35482e5263648652f03ec92bf14812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57ed429354134b1a2b596d20f290da2ccb4c39b9c73d36be76ea554deb143371 [INFO] running `Command { std: "docker" "start" "-a" "57ed429354134b1a2b596d20f290da2ccb4c39b9c73d36be76ea554deb143371", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling memchr v0.1.11 [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] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling sodium-sys v0.0.4 (/opt/rustwide/workdir) [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 constant `std::sync::ONCE_INIT`: the `Once::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 `Once::new()` function is now preferred [INFO] [stdout] --> tests/lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | static START: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 7 | static START: Once = Once::new(); [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "57ed429354134b1a2b596d20f290da2ccb4c39b9c73d36be76ea554deb143371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ed429354134b1a2b596d20f290da2ccb4c39b9c73d36be76ea554deb143371", kill_on_drop: false }` [INFO] [stdout] 57ed429354134b1a2b596d20f290da2ccb4c39b9c73d36be76ea554deb143371