[INFO] cloning repository https://github.com/jackwchoi/csync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackwchoi/csync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackwchoi%2Fcsync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackwchoi%2Fcsync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10861f7de3905d12fd21594cb6cce9064f60064d [INFO] checking jackwchoi/csync against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackwchoi%2Fcsync" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackwchoi/csync on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jackwchoi/csync [INFO] finished tweaking git repo https://github.com/jackwchoi/csync [INFO] tweaked toml for git repo https://github.com/jackwchoi/csync written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/jackwchoi/csync already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9df20e0edf2297344a8642d76e71a5a81597be385f83c5a26d73bdd2032729e2 [INFO] running `Command { std: "docker" "start" "-a" "9df20e0edf2297344a8642d76e71a5a81597be385f83c5a26d73bdd2032729e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9df20e0edf2297344a8642d76e71a5a81597be385f83c5a26d73bdd2032729e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df20e0edf2297344a8642d76e71a5a81597be385f83c5a26d73bdd2032729e2", kill_on_drop: false }` [INFO] [stdout] 9df20e0edf2297344a8642d76e71a5a81597be385f83c5a26d73bdd2032729e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34203b36654dcc054978f0a301efc0a30cfb79ba8f1af2ce5343d2cc109ba53e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "34203b36654dcc054978f0a301efc0a30cfb79ba8f1af2ce5343d2cc109ba53e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling data-encoding v2.2.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking colmac v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking secstr v0.4.0 [INFO] [stderr] Checking rpassword v4.0.5 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling zstd-sys v1.4.13+zstd.1.4.3 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking scrypt v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.8 [INFO] [stderr] Checking data-encoding-macro v0.1.8 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking zstd-safe v1.4.13+zstd.1.4.3 [INFO] [stderr] Checking zstd v0.4.28+zstd.1.4.3 [INFO] [stderr] Checking csync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/fs_util.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / macro_rules! tmpfile { [INFO] [stdout] 26 | | () => { [INFO] [stdout] 27 | | crate::fs_util::mktemp_file(None, "", "") [INFO] [stdout] 28 | | }; [INFO] [stdout] ... | [INFO] [stdout] 37 | | }; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/util.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / macro_rules! union_map { [INFO] [stdout] 159 | | ( $map_1:expr, $( $map_i:expr ),+ ) => {{ [INFO] [stdout] 160 | | let union: std::collections::HashMap<_, _> = crate::util::hashmap_iter_cloned(&$map_1) [INFO] [stdout] 161 | | $(.chain(crate::util::hashmap_iter_cloned(&$map_i)))+ [INFO] [stdout] ... | [INFO] [stdout] 168 | | }} [INFO] [stdout] 169 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyDerivSpecExt` [INFO] [stdout] --> src/crypt/action.rs:189:39 [INFO] [stdout] | [INFO] [stdout] 189 | kd_spec_ext_opt: Some(KeyDerivSpecExt::Pbkdf2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `KeyDerivSpecExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 281 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 281 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 281 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 281 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 281 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 281 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 335 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 335 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 335 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 335 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 335 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 335 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 389 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 389 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 389 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 389 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 389 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 389 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 432 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 432 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 432 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 432 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 432 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VERBOSE_REPORT_HEADER_FILE_COUNT` in this scope [INFO] [stdout] --> src/tests_e2e.rs:132:60 [INFO] [stdout] | [INFO] [stdout] 132 | let pattern = format!(r"{}[^\n]+", VERBOSE_REPORT_HEADER_FILE_COUNT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 432 | generate_suite!(generate_test); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/rand_util.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::test_util::*` [INFO] [stdout] --> src/rand_util.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::test_util::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs_util::*`, `rand_util::*` [INFO] [stdout] --> src/hasher.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | use crate::{fs_util::*, rand_util::*}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/hasher.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | use std::{collections::HashSet, fs::File}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/util.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / macro_rules! union_map { [INFO] [stdout] 159 | | ( $map_1:expr, $( $map_i:expr ),+ ) => {{ [INFO] [stdout] 160 | | let union: std::collections::HashMap<_, _> = crate::util::hashmap_iter_cloned(&$map_1) [INFO] [stdout] 161 | | $(.chain(crate::util::hashmap_iter_cloned(&$map_i)))+ [INFO] [stdout] ... | [INFO] [stdout] 168 | | }} [INFO] [stdout] 169 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colmac::*` [INFO] [stdout] --> src/util.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | use colmac::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/util.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::DirEntry` [INFO] [stdout] --> src/util.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | use walkdir::DirEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hasher::*` [INFO] [stdout] --> src/encoder/openssl.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | use crate::{fs_util::*, hasher::*}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/encoder/openssl.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/encoder/openssl.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/encoder/openssl.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/encoder/openssl.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/encoder/openssl.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/encoder/openssl.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `encoder::zstd::*`, `util::*` [INFO] [stdout] --> src/encoder/zstd.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | use crate::{encoder::zstd::*, test_util::*, util::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/encoder/zstd.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | let compressed_len = (compressed.len() as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/encoder/zstd.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | let input_len = (input_bytes.len() as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colmac::*` [INFO] [stdout] --> src/test_util.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | use colmac::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/test_util.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::pbkdf2::PBKDF2_HMAC_SHA512` [INFO] [stdout] --> src/crypt/action.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | use ring::pbkdf2::PBKDF2_HMAC_SHA512; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::metadata` [INFO] [stdout] --> src/crypt/action.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | use std::{fs::metadata, io::Write}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs_util::*` [INFO] [stdout] --> src/crypt/syncer.rs:790:17 [INFO] [stdout] | [INFO] [stdout] 790 | use crate::{fs_util::*, test_util::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `remove_dir_all` [INFO] [stdout] --> src/crypt/syncer.rs:792:19 [INFO] [stdout] | [INFO] [stdout] 792 | use std::fs::{remove_dir_all, File}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/crypt/syncer.rs:851:13 [INFO] [stdout] | [INFO] [stdout] 851 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/crypt/syncer.rs:1312:5 [INFO] [stdout] | [INFO] [stdout] 1312 | / macro_rules! dec_boiler { [INFO] [stdout] 1313 | | ( $src_root:expr ) => {{ [INFO] [stdout] 1314 | | let src_root = Path::new($src_root).canonicalize().unwrap(); [INFO] [stdout] 1315 | | let out_dir = tmpdir!().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 1375 | | }}; [INFO] [stdout] 1376 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Match`, `Matches` [INFO] [stdout] --> src/tests_e2e.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::{Match, Matches, Regex}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/tests_e2e.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/tests_e2e.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/tests_e2e.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/tests_e2e.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/tests_e2e.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/tests_e2e.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs_util::*`, `test_util::*`, `util::*` [INFO] [stdout] --> src/main.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | use crate::{fs_util::*, test_util::*, util::*}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | _ => todo!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_dir` [INFO] [stdout] --> src/specs/syncer_spec.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | out_dir, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `out_dir: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/specs/syncer_spec.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | verbose, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `verbose: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/specs/syncer_spec.rs:86:44 [INFO] [stdout] | [INFO] [stdout] 86 | SyncerSpecExt::Clean { source, verbose } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `verbose: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/crypt/util.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn determine_scrypt_params(verbose: bool, time_to_hash: u16) -> CsyncResult<(ScryptLogN, ScryptR, ScryptP)> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/crypt/util.rs:72:58 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn determine_pbkdf2_num_iter(alg: pbkdf2::Algorithm, verbose: bool, time_to_hash: u16) -> u32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/crypt/syncer.rs:539:29 [INFO] [stdout] | [INFO] [stdout] 539 | SyncerSpec::Clean { source, verbose } if *verbose => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hashed_key` [INFO] [stdout] --> src/crypt/syncer.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | let hashed_key = Syncer::verify_syncer_spec(&syncer_spec, &action_spec, &init_key)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashed_key` [INFO] [stdout] ... [INFO] [stdout] 164 | SyncerSpecExt::Encrypt { source, out_dir, .. } => from_dir!(source, out_dir, out_dir), [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hashed_key` [INFO] [stdout] --> src/crypt/syncer.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | let hashed_key = Syncer::verify_syncer_spec(&syncer_spec, &action_spec, &init_key)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashed_key` [INFO] [stdout] ... [INFO] [stdout] 166 | SyncerSpecExt::Decrypt { source, out_dir, .. } => from_dir!(source, out_dir, source), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/crypt/syncer.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | source, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verbose` [INFO] [stdout] --> src/crypt/syncer.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | verbose, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `verbose: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spec` [INFO] [stdout] --> src/crypt/syncer.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | fn with_spec_and_derived_key(spec: SyncerSpec, derived_key: DerivedKey) -> CsyncResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `derived_key` [INFO] [stdout] --> src/crypt/syncer.rs:202:52 [INFO] [stdout] | [INFO] [stdout] 202 | fn with_spec_and_derived_key(spec: SyncerSpec, derived_key: DerivedKey) -> CsyncResult { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_derived_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/crypt/syncer.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | Ok((uid, src_pbuf, perms, src_modtime, file_type)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/crypt/syncer.rs:422:33 [INFO] [stdout] | [INFO] [stdout] 422 | .map(move |(uid, entry_res)| -> CsyncResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `secure_vec::CryptoSecureHash: From>` is not satisfied [INFO] [stdout] --> src/rand_util.rs:122:84 [INFO] [stdout] | [INFO] [stdout] 122 | let rands: HashSet<_> = (0..4).map(|_| rng_seed!(&b"1ApkmSjz".to_vec().into(), num_bytes)).collect(); [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecurePRandBytes` in the current scope [INFO] [stdout] --> src/rand_util.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(bytes.unsecure().len(), byte_count as usize); [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecurePRandBytes` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CryptoSecurePRandBytes(pub SecureBytes); [INFO] [stdout] | --------------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecurePRandBytes` in the current scope [INFO] [stdout] --> src/rand_util.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | .unsecure() [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecurePRandBytes` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CryptoSecurePRandBytes(pub SecureBytes); [INFO] [stdout] | --------------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Inner` [INFO] [stdout] --> src/secure_vec.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | Inner, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mktemp_file` [INFO] [stdout] --> src/fs_util.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn mktemp_file(out_dir: Option<&Path>, prefix: &str, suffix: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `modified` [INFO] [stdout] --> src/fs_util.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn modified(source: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find` [INFO] [stdout] --> src/fs_util.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn find

(root: P) -> impl Iterator> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ls` [INFO] [stdout] --> src/fs_util.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn ls

(root: P) -> io::Result>> [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_key_deriv_spec` [INFO] [stdout] --> src/specs/rehash_spec.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn with_key_deriv_spec(key_deriv_spec: &KeyDerivSpec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_rep` [INFO] [stdout] --> src/specs/syncer_spec.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn check_rep(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hashmap_iter_cloned` [INFO] [stdout] --> src/util.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn hashmap_iter_cloned<'a, K, V>(map: &'a HashMap) -> impl Iterator + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `union_map` [INFO] [stdout] --> src/util.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn union_map(a: &HashMap, b: &HashMap) -> HashMap [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `iter_eq` [INFO] [stdout] --> src/util.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn iter_eq(mut iter_a: I, mut iter_b: I) -> bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec<(secure_vec::SecureVec, Vec, std::option::Option>, Vec)>` cannot be built from an iterator over elements of type `(secure_vec::CryptoSecureHash, Vec, std::option::Option, Vec)` [INFO] [stdout] --> src/encoder/openssl.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | .collect() [INFO] [stdout] | ^^^^^^^ value of type `Vec<(secure_vec::SecureVec, Vec, std::option::Option>, Vec)>` cannot be built from `std::iter::Iterator, std::option::Option, Vec)>` [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<(secure_vec::CryptoSecureHash, Vec, std::option::Option, Vec)>` is not implemented for `Vec<(secure_vec::SecureVec, Vec, std::option::Option>, Vec)>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `drng_range` [INFO] [stdout] --> src/test_util.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn drng_range(num_bytes: usize, min: u8, max: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ascii_files` [INFO] [stdout] --> src/test_util.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn ascii_files() -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bin_files` [INFO] [stdout] --> src/test_util.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn bin_files() -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parent` [INFO] [stdout] --> src/test_util.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn parent(path: &Path) -> &Path { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cp_r` [INFO] [stdout] --> src/test_util.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn cp_r(src: &Path, out_dir: &Path) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `basename` [INFO] [stdout] --> src/test_util.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn basename(path: &Path) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perm_bits` [INFO] [stdout] --> src/test_util.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn perm_bits(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_file_eq` [INFO] [stdout] --> src/test_util.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn assert_file_eq(path_a: &Path, path_b: &Path) -> CsyncResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_tree_eq` [INFO] [stdout] --> src/test_util.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn assert_tree_eq(a: &Path, b: &Path) -> CsyncResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_spec_and_derived_key` [INFO] [stdout] --> src/crypt/syncer.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | fn with_spec_and_derived_key(spec: SyncerSpec, derived_key: DerivedKey) -> CsyncResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec<(secure_vec::SecureVec, Vec, std::option::Option>, Vec)>` cannot be built from an iterator over elements of type `(secure_vec::CryptoSecureHash, Vec, std::option::Option, Vec)` [INFO] [stdout] --> src/encoder/openssl.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | .collect() [INFO] [stdout] | ^^^^^^^ value of type `Vec<(secure_vec::SecureVec, Vec, std::option::Option>, Vec)>` cannot be built from `std::iter::Iterator, std::option::Option, Vec)>` [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<(secure_vec::CryptoSecureHash, Vec, std::option::Option, Vec)>` is not implemented for `Vec<(secure_vec::SecureVec, Vec, std::option::Option>, Vec)>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecureHash` in the current scope [INFO] [stdout] --> src/hasher.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(result.unsecure(), &expected[..]); [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CryptoSecureHash(pub SecureBytes); [INFO] [stdout] | --------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecureHash` in the current scope [INFO] [stdout] --> src/hasher.rs:133:89 [INFO] [stdout] | [INFO] [stdout] 133 | pbkdf2_custom(PBKDF2_HMAC_SHA512, 1, None, &key_bytes.to_vec().into(),).unsecure(), [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CryptoSecureHash(pub SecureBytes); [INFO] [stdout] | --------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hasher.rs:143:62 [INFO] [stdout] | [INFO] [stdout] 143 | let result = sha512!(&key_bytes.to_vec().into(), &SecureVec::new(salt.to_vec())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecureHash` in the current scope [INFO] [stdout] --> src/hasher.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(result.unsecure(), &expected[..]); [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CryptoSecureHash(pub SecureBytes); [INFO] [stdout] | --------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hasher.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | Some(&SecureVec::new(salt.to_vec())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecureHash` in the current scope [INFO] [stdout] --> src/hasher.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | .unsecure(), [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CryptoSecureHash(pub SecureBytes); [INFO] [stdout] | --------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecureHash` in the current scope [INFO] [stdout] --> src/hasher.rs:187:35 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(result.unsecure(), &expected[..]); [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CryptoSecureHash(pub SecureBytes); [INFO] [stdout] | --------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecureHash` in the current scope [INFO] [stdout] --> src/hasher.rs:189:99 [INFO] [stdout] | [INFO] [stdout] 189 | pbkdf2_custom(PBKDF2_HMAC_SHA512, num_iter, None, &key_bytes.to_vec().into()).unsecure(), [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CryptoSecureHash(pub SecureBytes); [INFO] [stdout] | --------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hasher.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | &SecureVec::new(salt.to_vec()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecureHash` in the current scope [INFO] [stdout] --> src/hasher.rs:226:35 [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(result.unsecure(), &expected[..]); [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CryptoSecureHash(pub SecureBytes); [INFO] [stdout] | --------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hasher.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | Some(&SecureVec::new(salt.to_vec())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecureHash` in the current scope [INFO] [stdout] --> src/hasher.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | .unsecure(), [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CryptoSecureHash(pub SecureBytes); [INFO] [stdout] | --------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hasher.rs:249:68 [INFO] [stdout] | [INFO] [stdout] 249 | .map(|_| pbkdf2_custom(PBKDF2_HMAC_SHA512, 3, Some(&salt), &key.to_string().into())) [INFO] [stdout] | ^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::CryptoSecurePRandBytes` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::CryptoSecurePRandBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for reference `&secure_vec::CryptoSecureHash` in the current scope [INFO] [stdout] --> src/hasher.rs:255:58 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(64, hashes.iter().nth(0).unwrap().unsecure().len()); [INFO] [stdout] | ^^^^^^^^ method not found in `&secure_vec::CryptoSecureHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:254:74 [INFO] [stdout] | [INFO] [stdout] 254 | $encryptor => (&hashed_key, Some(&iv)) [INFO] [stdout] | ^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:254:74 [INFO] [stdout] | [INFO] [stdout] 254 | $encryptor => (&hashed_key, Some(&iv)) [INFO] [stdout] | ^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:315:48 [INFO] [stdout] | [INFO] [stdout] 315 | $encryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:315:61 [INFO] [stdout] | [INFO] [stdout] 315 | $encryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&secure_vec::CryptoSecureHash>` [INFO] [stdout] found enum `std::option::Option<&secure_vec::SecureVec>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:315:48 [INFO] [stdout] | [INFO] [stdout] 315 | $encryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:315:61 [INFO] [stdout] | [INFO] [stdout] 315 | $encryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&secure_vec::CryptoSecureHash>` [INFO] [stdout] found enum `std::option::Option<&secure_vec::SecureVec>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:339:48 [INFO] [stdout] | [INFO] [stdout] 339 | $decryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:339:61 [INFO] [stdout] | [INFO] [stdout] 339 | $decryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&secure_vec::CryptoSecureHash>` [INFO] [stdout] found enum `std::option::Option<&secure_vec::SecureVec>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:339:48 [INFO] [stdout] | [INFO] [stdout] 339 | $decryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:339:61 [INFO] [stdout] | [INFO] [stdout] 339 | $decryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&secure_vec::CryptoSecureHash>` [INFO] [stdout] found enum `std::option::Option<&secure_vec::SecureVec>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:367:52 [INFO] [stdout] | [INFO] [stdout] 367 | $encryptor => (&hashed_key, iv_opt.as_ref()), [INFO] [stdout] | ^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:367:65 [INFO] [stdout] | [INFO] [stdout] 367 | $encryptor => (&hashed_key, iv_opt.as_ref()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&secure_vec::CryptoSecureHash>` [INFO] [stdout] found enum `std::option::Option<&secure_vec::SecureVec>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:368:52 [INFO] [stdout] | [INFO] [stdout] 368 | $decryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:368:65 [INFO] [stdout] | [INFO] [stdout] 368 | $decryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 508 | gen_tests!(aes_256_cbc, test_data_aes256cbc, Aes256CbcEnc, Aes256CbcDec); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&secure_vec::CryptoSecureHash>` [INFO] [stdout] found enum `std::option::Option<&secure_vec::SecureVec>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:367:52 [INFO] [stdout] | [INFO] [stdout] 367 | $encryptor => (&hashed_key, iv_opt.as_ref()), [INFO] [stdout] | ^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:367:65 [INFO] [stdout] | [INFO] [stdout] 367 | $encryptor => (&hashed_key, iv_opt.as_ref()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&secure_vec::CryptoSecureHash>` [INFO] [stdout] found enum `std::option::Option<&secure_vec::SecureVec>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:368:52 [INFO] [stdout] | [INFO] [stdout] 368 | $decryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encoder/openssl.rs:368:65 [INFO] [stdout] | [INFO] [stdout] 368 | $decryptor => (&hashed_key, iv_opt.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] ... [INFO] [stdout] 510 | gen_tests!(chacha20, test_data_chacha20, ChaCha20Enc, ChaCha20Dec); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&secure_vec::CryptoSecureHash>` [INFO] [stdout] found enum `std::option::Option<&secure_vec::SecureVec>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/util.rs:475:17 [INFO] [stdout] | [INFO] [stdout] 475 | &salt [INFO] [stdout] | ^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::CryptoSecurePRandBytes` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::CryptoSecurePRandBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `action_spec::ActionSpec: Default` is not satisfied [INFO] [stdout] --> src/crypt/util.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | ... &Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `action_spec::ActionSpec` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/util.rs:508:29 [INFO] [stdout] | [INFO] [stdout] 508 | ... &init_key, [INFO] [stdout] | ^^^^^^^^^ expected struct `secure_vec::DerivedKey`, found struct `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::DerivedKey` [INFO] [stdout] found reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/util.rs:526:17 [INFO] [stdout] | [INFO] [stdout] 526 | &salt [INFO] [stdout] | ^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::CryptoSecurePRandBytes` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::CryptoSecurePRandBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `action_spec::ActionSpec: Default` is not satisfied [INFO] [stdout] --> src/crypt/util.rs:553:26 [INFO] [stdout] | [INFO] [stdout] 553 | &Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `action_spec::ActionSpec` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/util.rs:557:25 [INFO] [stdout] | [INFO] [stdout] 557 | &init_key, [INFO] [stdout] | ^^^^^^^^^ expected struct `secure_vec::DerivedKey`, found struct `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::DerivedKey` [INFO] [stdout] found reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/util.rs:571:87 [INFO] [stdout] | [INFO] [stdout] 571 | csync_decrypt(fopen_r(&tmpf_path).unwrap(), Some(&mut decrypted), &init_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^ expected struct `secure_vec::DerivedKey`, found struct `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::DerivedKey` [INFO] [stdout] found reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/action.rs:179:90 [INFO] [stdout] | [INFO] [stdout] 179 | let init_key = sha512!(&b"7khgaLPeWyebxsICUav7hG9buGriE2Hc".to_vec().into(), &salt); [INFO] [stdout] | ^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::CryptoSecurePRandBytes` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::CryptoSecurePRandBytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/crypt/action.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 33 | / pub fn new( [INFO] [stdout] 34 | | syncer_spec: &SyncerSpec, [INFO] [stdout] 35 | | src: &Path, [INFO] [stdout] 36 | | dest: &Path, [INFO] [stdout] ... | [INFO] [stdout] 39 | | key_hash: &DerivedKey, [INFO] [stdout] 40 | | ) -> CsyncResult { [INFO] [stdout] | |____________________________- defined here [INFO] [stdout] ... [INFO] [stdout] 201 | Action::new(&syncer_spec, &src, &enc_dest, file_type, None) [INFO] [stdout] | ^^^^^^^^^^^ ------------ ---- --------- --------- ---- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/action.rs:203:42 [INFO] [stdout] | [INFO] [stdout] 203 | .manifest(arena1.path(), &init_key) [INFO] [stdout] | ^^^^^^^^^ expected struct `secure_vec::DerivedKey`, found struct `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::DerivedKey` [INFO] [stdout] found reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/crypt/action.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 33 | / pub fn new( [INFO] [stdout] 34 | | syncer_spec: &SyncerSpec, [INFO] [stdout] 35 | | src: &Path, [INFO] [stdout] 36 | | dest: &Path, [INFO] [stdout] ... | [INFO] [stdout] 39 | | key_hash: &DerivedKey, [INFO] [stdout] 40 | | ) -> CsyncResult { [INFO] [stdout] | |____________________________- defined here [INFO] [stdout] ... [INFO] [stdout] 208 | Action::new(&syncer_spec, &enc_dest, &dec_dest, file_type, None) [INFO] [stdout] | ^^^^^^^^^^^ ------------ --------- --------- --------- ---- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/action.rs:210:42 [INFO] [stdout] | [INFO] [stdout] 210 | .manifest(arena2.path(), &init_key) [INFO] [stdout] | ^^^^^^^^^ expected struct `secure_vec::DerivedKey`, found struct `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::DerivedKey` [INFO] [stdout] found reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unsecure` found for struct `secure_vec::CryptoSecureHash` in the current scope [INFO] [stdout] --> src/crypt/action.rs:266:41 [INFO] [stdout] | [INFO] [stdout] 266 | tmpf.write_all(hash.unsecure()).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] ::: src/secure_vec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CryptoSecureHash(pub SecureBytes); [INFO] [stdout] | --------------------------------------------- method `unsecure` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `colmac::HashSet>: FromParallelIterator` is not satisfied [INFO] [stdout] --> src/crypt/syncer.rs:925:79 [INFO] [stdout] | [INFO] [stdout] 925 | spreads.par_iter().map(|spread| spread_to_hash(&spread).unwrap()).collect() [INFO] [stdout] | ^^^^^^^ the trait `FromParallelIterator` is not implemented for `colmac::HashSet>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as FromParallelIterator> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/syncer.rs:974:81 [INFO] [stdout] | [INFO] [stdout] 974 | let spread = path_to_spread(SpreadDepth::new(spread_depth), &init_salt, &src_pbuf).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ expected struct `secure_vec::CryptoSecureHash`, found struct `secure_vec::SecureVec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] found reference `&secure_vec::SecureVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/syncer.rs:977:104 [INFO] [stdout] | [INFO] [stdout] 977 | let ciphertext = path_to_cipherpath(&src_root, &src_pbuf, file_type, &spread_hash, &derived_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `secure_vec::DerivedKey`, found struct `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::DerivedKey` [INFO] [stdout] found reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crypt/syncer.rs:981:100 [INFO] [stdout] | [INFO] [stdout] 981 | cipherpath_to_path(SpreadDepth::new(spread_depth), &src_root, &cipherpath, &derived_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `secure_vec::DerivedKey`, found struct `secure_vec::CryptoSecureHash` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&secure_vec::DerivedKey` [INFO] [stdout] found reference `&secure_vec::CryptoSecureHash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super` [INFO] [stdout] --> src/tests_e2e.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 79 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csync` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "34203b36654dcc054978f0a301efc0a30cfb79ba8f1af2ce5343d2cc109ba53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34203b36654dcc054978f0a301efc0a30cfb79ba8f1af2ce5343d2cc109ba53e", kill_on_drop: false }` [INFO] [stdout] 34203b36654dcc054978f0a301efc0a30cfb79ba8f1af2ce5343d2cc109ba53e