[INFO] fetching crate microsalt 0.2.21... [INFO] checking microsalt-0.2.21 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate microsalt 0.2.21 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate microsalt 0.2.21 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate microsalt 0.2.21 [INFO] finished tweaking crates.io crate microsalt 0.2.21 [INFO] tweaked toml for crates.io crate microsalt 0.2.21 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages [INFO] [stderr] Adding index-fixed v0.0.2 (latest: v0.3.1) [INFO] [stderr] Adding memsec v0.3.4 (latest: v0.6.3) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding serde v0.9.15 (latest: v1.0.197) [INFO] [stderr] Adding unwrap v1.1.0 (latest: v1.2.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded index-fixed v0.0.2 [INFO] [stderr] Downloaded unwrap v1.1.0 [INFO] [stderr] Downloaded mach_o_sys v0.1.1 [INFO] [stderr] Downloaded memsec v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7c9107cf7f95c2764e574e2d16b70c08bc340ef73a5802e71e0636e8a7329bf [INFO] running `Command { std: "docker" "start" "-a" "a7c9107cf7f95c2764e574e2d16b70c08bc340ef73a5802e71e0636e8a7329bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c9107cf7f95c2764e574e2d16b70c08bc340ef73a5802e71e0636e8a7329bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c9107cf7f95c2764e574e2d16b70c08bc340ef73a5802e71e0636e8a7329bf", kill_on_drop: false }` [INFO] [stdout] a7c9107cf7f95c2764e574e2d16b70c08bc340ef73a5802e71e0636e8a7329bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58115b8011474ff955d1b1f3159ba29d5c8be7104d426fe88d77cae340e7029f [INFO] running `Command { std: "docker" "start" "-a" "58115b8011474ff955d1b1f3159ba29d5c8be7104d426fe88d77cae340e7029f", kill_on_drop: false }` [INFO] [stderr] Compiling memsec v0.3.4 [INFO] [stderr] Checking index-fixed v0.0.2 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking unwrap v1.1.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking microsalt v0.2.21 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/hash/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// A hash [INFO] [stdout] | ^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/hash/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hash/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / new_type! { [INFO] [stdout] 17 | | /// Digest-structure [INFO] [stdout] 18 | | public HashType(LENGTH); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `memsec` is imported redundantly [INFO] [stdout] --> src/shared.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | use memsec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern crate memsec; [INFO] [stdout] | -------------------- the item `memsec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/shared.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | use std::{cmp, mem}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sign/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / ///A Pubic key for crypto box [INFO] [stdout] 30 | | //pub type PublicKey = [u8; PUBLIC_KEY_BYTES]; [INFO] [stdout] 31 | | ///A secret key for crypto box [INFO] [stdout] | |_-----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/sign/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared` [INFO] [stdout] --> src/sign/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / new_type! { [INFO] [stdout] 35 | | /// `SecretKey` for signatures [INFO] [stdout] 36 | | /// [INFO] [stdout] 37 | | /// When a `SecretKey` goes out of scope its contents [INFO] [stdout] 38 | | /// will be zeroed out [INFO] [stdout] 39 | | secret SecretKey(SECRET_KEY_BYTES); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / new_type! { [INFO] [stdout] 43 | | /// `PublicKey` for signatures [INFO] [stdout] 44 | | public PublicKey(PUBLIC_KEY_BYTES); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / new_type! { [INFO] [stdout] 48 | | /// Detached signature [INFO] [stdout] 49 | | public Signature(SIGNATURE_LENGTH); [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared` [INFO] [stdout] --> src/secretbox/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared` [INFO] [stdout] --> src/boxy/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/hash/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// A hash [INFO] [stdout] | ^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/hash/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hash/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / new_type! { [INFO] [stdout] 17 | | /// Digest-structure [INFO] [stdout] 18 | | public HashType(LENGTH); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `memsec` is imported redundantly [INFO] [stdout] --> src/shared.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | use memsec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern crate memsec; [INFO] [stdout] | -------------------- the item `memsec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/shared.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | use std::{cmp, mem}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sign/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / ///A Pubic key for crypto box [INFO] [stdout] 30 | | //pub type PublicKey = [u8; PUBLIC_KEY_BYTES]; [INFO] [stdout] 31 | | ///A secret key for crypto box [INFO] [stdout] | |_-----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/sign/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / new_type! { [INFO] [stdout] 35 | | /// `SecretKey` for signatures [INFO] [stdout] 36 | | /// [INFO] [stdout] 37 | | /// When a `SecretKey` goes out of scope its contents [INFO] [stdout] 38 | | /// will be zeroed out [INFO] [stdout] 39 | | secret SecretKey(SECRET_KEY_BYTES); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / new_type! { [INFO] [stdout] 43 | | /// `PublicKey` for signatures [INFO] [stdout] 44 | | public PublicKey(PUBLIC_KEY_BYTES); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / new_type! { [INFO] [stdout] 48 | | /// Detached signature [INFO] [stdout] 49 | | public Signature(SIGNATURE_LENGTH); [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared` [INFO] [stdout] --> src/boxy/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hash/sha512.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let mut x = &mut x[..new_len]; [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/sign/ed25519.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | let (init, mut rest) = r.split_at_mut(3); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_data_test_helper` is never used [INFO] [stdout] --> src/shared.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn random_data_test_helper(len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGN_BYTES` is never used [INFO] [stdout] --> src/sign/ed25519.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const SIGN_BYTES: usize = 64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/secretbox/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | xsalsa20poly1305::secretbox(&mut cipher, &m, &nonce, &key.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = xsalsa20poly1305::secretbox(&mut cipher, &m, &nonce, &key.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/boxy/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | curve25519xsalsa20poly1305::box_(&mut cipher, &m, &nonce, &pk.0, &sk.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = curve25519xsalsa20poly1305::box_(&mut cipher, &m, &nonce, &pk.0, &sk.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hash/sha512.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let mut x = &mut x[..new_len]; [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/sign/ed25519.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | let (init, mut rest) = r.split_at_mut(3); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/mod.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut sig = key.sign(&message); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGN_BYTES` is never used [INFO] [stdout] --> src/sign/ed25519.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const SIGN_BYTES: usize = 64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/secretbox/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | xsalsa20poly1305::secretbox(&mut cipher, &m, &nonce, &key.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = xsalsa20poly1305::secretbox(&mut cipher, &m, &nonce, &key.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/boxy/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | curve25519xsalsa20poly1305::box_(&mut cipher, &m, &nonce, &pk.0, &sk.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = curve25519xsalsa20poly1305::box_(&mut cipher, &m, &nonce, &pk.0, &sk.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "58115b8011474ff955d1b1f3159ba29d5c8be7104d426fe88d77cae340e7029f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58115b8011474ff955d1b1f3159ba29d5c8be7104d426fe88d77cae340e7029f", kill_on_drop: false }` [INFO] [stdout] 58115b8011474ff955d1b1f3159ba29d5c8be7104d426fe88d77cae340e7029f [INFO] checking microsalt-0.2.21 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate microsalt 0.2.21 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate microsalt 0.2.21 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate microsalt 0.2.21 [INFO] finished tweaking crates.io crate microsalt 0.2.21 [INFO] tweaked toml for crates.io crate microsalt 0.2.21 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65f2a3065a3e0b228f0d5250c96d8bc69d7711eb948bdf4aecc03b29a84d3d59 [INFO] running `Command { std: "docker" "start" "-a" "65f2a3065a3e0b228f0d5250c96d8bc69d7711eb948bdf4aecc03b29a84d3d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65f2a3065a3e0b228f0d5250c96d8bc69d7711eb948bdf4aecc03b29a84d3d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65f2a3065a3e0b228f0d5250c96d8bc69d7711eb948bdf4aecc03b29a84d3d59", kill_on_drop: false }` [INFO] [stdout] 65f2a3065a3e0b228f0d5250c96d8bc69d7711eb948bdf4aecc03b29a84d3d59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1cd1a29b60c82874de6cc5186e38deea1294fc91e154afa532ad3dba4d7897e [INFO] running `Command { std: "docker" "start" "-a" "b1cd1a29b60c82874de6cc5186e38deea1294fc91e154afa532ad3dba4d7897e", kill_on_drop: false }` [INFO] [stderr] Compiling memsec v0.3.4 [INFO] [stderr] Checking index-fixed v0.0.2 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking unwrap v1.1.0 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking microsalt v0.2.21 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/hash/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// A hash [INFO] [stdout] | ^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/hash/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// A hash [INFO] [stdout] | ^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/hash/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/hash/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hash/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / new_type! { [INFO] [stdout] 17 | | /// Digest-structure [INFO] [stdout] 18 | | public HashType(LENGTH); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `memsec` is imported redundantly [INFO] [stdout] --> src/shared.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | use memsec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern crate memsec; [INFO] [stdout] | -------------------- the item `memsec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/shared.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | use std::{cmp, mem}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sign/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / ///A Pubic key for crypto box [INFO] [stdout] 30 | | //pub type PublicKey = [u8; PUBLIC_KEY_BYTES]; [INFO] [stdout] 31 | | ///A secret key for crypto box [INFO] [stdout] | |_-----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hash/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / new_type! { [INFO] [stdout] 17 | | /// Digest-structure [INFO] [stdout] 18 | | public HashType(LENGTH); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/sign/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `memsec` is imported redundantly [INFO] [stdout] --> src/shared.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | use memsec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern crate memsec; [INFO] [stdout] | -------------------- the item `memsec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/shared.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | use std::{cmp, mem}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / new_type! { [INFO] [stdout] 35 | | /// `SecretKey` for signatures [INFO] [stdout] 36 | | /// [INFO] [stdout] 37 | | /// When a `SecretKey` goes out of scope its contents [INFO] [stdout] 38 | | /// will be zeroed out [INFO] [stdout] 39 | | secret SecretKey(SECRET_KEY_BYTES); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sign/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / ///A Pubic key for crypto box [INFO] [stdout] 30 | | //pub type PublicKey = [u8; PUBLIC_KEY_BYTES]; [INFO] [stdout] 31 | | ///A secret key for crypto box [INFO] [stdout] | |_-----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/sign/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared` [INFO] [stdout] --> src/sign/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / new_type! { [INFO] [stdout] 43 | | /// `PublicKey` for signatures [INFO] [stdout] 44 | | public PublicKey(PUBLIC_KEY_BYTES); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / new_type! { [INFO] [stdout] 35 | | /// `SecretKey` for signatures [INFO] [stdout] 36 | | /// [INFO] [stdout] 37 | | /// When a `SecretKey` goes out of scope its contents [INFO] [stdout] 38 | | /// will be zeroed out [INFO] [stdout] 39 | | secret SecretKey(SECRET_KEY_BYTES); [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / new_type! { [INFO] [stdout] 43 | | /// `PublicKey` for signatures [INFO] [stdout] 44 | | public PublicKey(PUBLIC_KEY_BYTES); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / new_type! { [INFO] [stdout] 48 | | /// Detached signature [INFO] [stdout] 49 | | public Signature(SIGNATURE_LENGTH); [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared` [INFO] [stdout] --> src/boxy/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/newtype_macros.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | ... if let Some(value) = try!(visitor.visit()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/sign/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / new_type! { [INFO] [stdout] 48 | | /// Detached signature [INFO] [stdout] 49 | | public Signature(SIGNATURE_LENGTH); [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `newtype_traits` which comes from the expansion of the macro `new_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared` [INFO] [stdout] --> src/secretbox/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shared` [INFO] [stdout] --> src/boxy/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hash/sha512.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let mut x = &mut x[..new_len]; [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/sign/ed25519.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | let (init, mut rest) = r.split_at_mut(3); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hash/sha512.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let mut x = &mut x[..new_len]; [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: function `random_data_test_helper` is never used [INFO] [stdout] --> src/shared.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn random_data_test_helper(len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGN_BYTES` is never used [INFO] [stdout] --> src/sign/ed25519.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const SIGN_BYTES: usize = 64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/secretbox/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | xsalsa20poly1305::secretbox(&mut cipher, &m, &nonce, &key.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = xsalsa20poly1305::secretbox(&mut cipher, &m, &nonce, &key.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/boxy/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | curve25519xsalsa20poly1305::box_(&mut cipher, &m, &nonce, &pk.0, &sk.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = curve25519xsalsa20poly1305::box_(&mut cipher, &m, &nonce, &pk.0, &sk.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/ed25519.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | let (init, mut rest) = r.split_at_mut(3); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/mod.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut sig = key.sign(&message); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGN_BYTES` is never used [INFO] [stdout] --> src/sign/ed25519.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const SIGN_BYTES: usize = 64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/secretbox/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | xsalsa20poly1305::secretbox(&mut cipher, &m, &nonce, &key.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = xsalsa20poly1305::secretbox(&mut cipher, &m, &nonce, &key.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/boxy/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | curve25519xsalsa20poly1305::box_(&mut cipher, &m, &nonce, &pk.0, &sk.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = curve25519xsalsa20poly1305::box_(&mut cipher, &m, &nonce, &pk.0, &sk.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.96s [INFO] running `Command { std: "docker" "inspect" "b1cd1a29b60c82874de6cc5186e38deea1294fc91e154afa532ad3dba4d7897e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1cd1a29b60c82874de6cc5186e38deea1294fc91e154afa532ad3dba4d7897e", kill_on_drop: false }` [INFO] [stdout] b1cd1a29b60c82874de6cc5186e38deea1294fc91e154afa532ad3dba4d7897e