[INFO] cloning repository https://github.com/RaheesAhmed/SecureTrack-Encryption
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RaheesAhmed/SecureTrack-Encryption" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaheesAhmed%2FSecureTrack-Encryption", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaheesAhmed%2FSecureTrack-Encryption'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d9bef40600f181a6e97188aef2e748a0108b9094
[INFO] testing RaheesAhmed/SecureTrack-Encryption against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaheesAhmed%2FSecureTrack-Encryption" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RaheesAhmed/SecureTrack-Encryption
[INFO] finished tweaking git repo https://github.com/RaheesAhmed/SecureTrack-Encryption
[INFO] tweaked toml for git repo https://github.com/RaheesAhmed/SecureTrack-Encryption written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RaheesAhmed/SecureTrack-Encryption on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RaheesAhmed/SecureTrack-Encryption already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-test v0.3.50
[INFO] [stderr]   Downloaded wasm-bindgen-test-macro v0.3.50
[INFO] [stderr]   Downloaded dbl v0.3.2
[INFO] [stderr]   Downloaded serde-wasm-bindgen v0.5.0
[INFO] [stderr]   Downloaded minicov v0.3.7
[INFO] [stderr]   Downloaded aes-siv v0.7.0
[INFO] [stderr]   Downloaded cmac v0.7.2
[INFO] [stderr]   Downloaded clap v4.5.35
[INFO] [stderr]   Downloaded clap_builder v4.5.35
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0cd4e0227e28e837a82c21c9d49cb734343368b814ebdcc7419b521a259505b5
[INFO] running `Command { std: "docker" "start" "-a" "0cd4e0227e28e837a82c21c9d49cb734343368b814ebdcc7419b521a259505b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0cd4e0227e28e837a82c21c9d49cb734343368b814ebdcc7419b521a259505b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cd4e0227e28e837a82c21c9d49cb734343368b814ebdcc7419b521a259505b5", kill_on_drop: false }`
[INFO] [stdout] 0cd4e0227e28e837a82c21c9d49cb734343368b814ebdcc7419b521a259505b5
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e24b276ae1017c084d3f9df8c555c938e5665a5f7ece9bd19b19c2a83a4edf4c
[INFO] running `Command { std: "docker" "start" "-a" "e24b276ae1017c084d3f9df8c555c938e5665a5f7ece9bd19b19c2a83a4edf4c", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.100
[INFO] [stderr]    Compiling bumpalo v3.17.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling wasm-bindgen v0.2.100
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling dbl v0.3.2
[INFO] [stderr]    Compiling base64ct v1.7.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling cmac v0.7.2
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.100
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.100
[INFO] [stderr]    Compiling aes-siv v0.7.0
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.100
[INFO] [stderr]    Compiling js-sys v0.3.77
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.7
[INFO] [stderr]    Compiling web-sys v0.3.77
[INFO] [stderr]    Compiling serde-wasm-bindgen v0.5.0
[INFO] [stderr]    Compiling securetrack_crypto v1.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.92s
[INFO] running `Command { std: "docker" "inspect" "e24b276ae1017c084d3f9df8c555c938e5665a5f7ece9bd19b19c2a83a4edf4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e24b276ae1017c084d3f9df8c555c938e5665a5f7ece9bd19b19c2a83a4edf4c", kill_on_drop: false }`
[INFO] [stdout] e24b276ae1017c084d3f9df8c555c938e5665a5f7ece9bd19b19c2a83a4edf4c
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99ebba4c2fc1bb1fa754b55d071ee23b07a580d94923cc6bbff146aa56eb7b18
[INFO] running `Command { std: "docker" "start" "-a" "99ebba4c2fc1bb1fa754b55d071ee23b07a580d94923cc6bbff146aa56eb7b18", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling wasm-bindgen v0.2.100
[INFO] [stderr]    Compiling half v2.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling clap_builder v4.5.35
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.50
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling js-sys v0.3.77
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.7
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling cmac v0.7.2
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling aes-siv v0.7.0
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling clap v4.5.35
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde-wasm-bindgen v0.5.0
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.50
[INFO] [stderr]    Compiling web-sys v0.3.77
[INFO] [stderr]    Compiling wasm-bindgen-test v0.3.50
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling securetrack_crypto v1.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `constant_time_eq` and `secure_zero`
[INFO] [stdout]   --> src/tests.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 |         generate_random_key, constant_time_eq, secure_zero, hex_to_bytes, bytes_to_hex
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 41.41s
[INFO] running `Command { std: "docker" "inspect" "99ebba4c2fc1bb1fa754b55d071ee23b07a580d94923cc6bbff146aa56eb7b18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99ebba4c2fc1bb1fa754b55d071ee23b07a580d94923cc6bbff146aa56eb7b18", kill_on_drop: false }`
[INFO] [stdout] 99ebba4c2fc1bb1fa754b55d071ee23b07a580d94923cc6bbff146aa56eb7b18
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cfbc376f38779e1b90526461386b7f8950f56f34cbaec0f5369778bfcad487d2
[INFO] running `Command { std: "docker" "start" "-a" "cfbc376f38779e1b90526461386b7f8950f56f34cbaec0f5369778bfcad487d2", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `constant_time_eq` and `secure_zero`
[INFO] [stderr]   --> src/tests.rs:11:30
[INFO] [stderr]    |
[INFO] [stderr] 11 |         generate_random_key, constant_time_eq, secure_zero, hex_to_bytes, bytes_to_hex
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `securetrack_crypto` (lib test) generated 1 warning (run `cargo fix --lib -p securetrack_crypto --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/securetrack_crypto-f20606ba205899f0)
[INFO] [stdout] running 14 tests
[INFO] [stdout] test tests::tests::test_combine_key_errors ... ok
[INFO] [stdout] test tests::tests::test_empty_key_handling ... ok
[INFO] [stdout] test tests::tests::test_encrypt_decrypt ... ok
[INFO] [stdout] test tests::tests::test_encrypt_decrypt_string ... ok
[INFO] [stdout] test tests::tests::test_hex_conversion ... ok
[INFO] [stdout] test tests::tests::test_invalid_inputs_for_key_sharing ... ok
[INFO] [stdout] test tests::tests::test_key_derivation_errors ... ok
[INFO] [stdout] test tests::tests::test_key_splitting_combining ... ok
[INFO] [stdout] test tests::tests::test_sign_verify_command ... ok
[INFO] [stdout] test tests::tests::test_key_splitting_threshold ... ok
[INFO] [stdout] test tests::tests::test_sign_verify ... ok
[INFO] [stdout] test tests::tests::test_key_derivation_with_config ... ok
[INFO] [stdout] test tests::tests::test_key_derivation ... ok
[INFO] [stdout] test tests::tests::test_key_derivation_with_salt ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.59s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests securetrack_crypto
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test src/encryption.rs - encryption::decrypt_data (line 102) ... FAILED
[INFO] [stdout] test src/encryption.rs - encryption::_::__wasm_bindgen_generated_decrypt_data (line 102) ... FAILED
[INFO] [stdout] test src/key_derivation.rs - key_derivation::derive_key (line 276) ... FAILED
[INFO] [stdout] test src/key_derivation.rs - key_derivation::_::__wasm_bindgen_generated_derive_key (line 276) ... FAILED
[INFO] [stdout] test src/encryption.rs - encryption::_::__wasm_bindgen_generated_encrypt_data (line 31) ... FAILED
[INFO] [stdout] test src/encryption.rs - encryption::encrypt_data (line 31) ... FAILED
[INFO] [stdout] test src/key_sharing.rs - key_sharing::_::__wasm_bindgen_generated_combine_key (line 102) ... FAILED
[INFO] [stdout] test src/signing.rs - signing::_::__wasm_bindgen_generated_sign_command (line 22) ... FAILED
[INFO] [stdout] test src/key_sharing.rs - key_sharing::split_key (line 21) ... FAILED
[INFO] [stdout] test src/key_sharing.rs - key_sharing::_::__wasm_bindgen_generated_split_key (line 21) ... FAILED
[INFO] [stdout] test src/key_sharing.rs - key_sharing::combine_key (line 102) ... FAILED
[INFO] [stdout] test src/signing.rs - signing::verify_command (line 102) ... FAILED
[INFO] [stdout] test src/signing.rs - signing::_::__wasm_bindgen_generated_verify_command (line 102) ... FAILED
[INFO] [stdout] test src/signing.rs - signing::sign_command (line 22) ... FAILED
[INFO] [stdout] test src/lib.rs - _::__wasm_bindgen_generated_version (line 99) ... ok
[INFO] [stdout] test src/lib.rs - version (line 99) ... ok
[INFO] [stdout] test src/key_derivation.rs - key_derivation::_::__wasm_bindgen_generated_derive_key_argon2id (line 107) ... ok
[INFO] [stdout] test src/key_derivation.rs - key_derivation::derive_key_argon2id (line 107) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/encryption.rs - encryption::decrypt_data (line 102) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `decrypt_data` in this scope
[INFO] [stdout]    --> src/encryption.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 | let decrypted = decrypt_data(&encrypted, &key)?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 102 + use securetrack_crypto::decrypt_data;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `encrypted` in this scope
[INFO] [stdout]    --> src/encryption.rs:103:31
[INFO] [stdout]     |
[INFO] [stdout] 103 | let decrypted = decrypt_data(&encrypted, &key)?;
[INFO] [stdout]     |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]    --> src/encryption.rs:103:43
[INFO] [stdout]     |
[INFO] [stdout] 103 | let decrypted = decrypt_data(&encrypted, &key)?;
[INFO] [stdout]     |                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encryption.rs - encryption::_::__wasm_bindgen_generated_decrypt_data (line 102) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `decrypt_data` in this scope
[INFO] [stdout]    --> src/encryption.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 | let decrypted = decrypt_data(&encrypted, &key)?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 102 + use securetrack_crypto::decrypt_data;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `encrypted` in this scope
[INFO] [stdout]    --> src/encryption.rs:103:31
[INFO] [stdout]     |
[INFO] [stdout] 103 | let decrypted = decrypt_data(&encrypted, &key)?;
[INFO] [stdout]     |                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]    --> src/encryption.rs:103:43
[INFO] [stdout]     |
[INFO] [stdout] 103 | let decrypted = decrypt_data(&encrypted, &key)?;
[INFO] [stdout]     |                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/key_derivation.rs - key_derivation::derive_key (line 276) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_salt_from_key_result` in this scope
[INFO] [stdout]    --> src/key_derivation.rs:283:12
[INFO] [stdout]     |
[INFO] [stdout] 283 |   let salt = get_salt_from_key_result(&key_result, None).unwrap();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/key_derivation.rs:366:1
[INFO] [stdout]     |
[INFO] [stdout] 366 | / pub fn get_key_from_key_result(
[INFO] [stdout] 367 | |     key_result: &[u8],
[INFO] [stdout] 368 | |     config: Option<SecurityConfig>,
[INFO] [stdout] 369 | | ) -> Result<Box<[u8]>> {
[INFO] [stdout]     | |______________________- similarly named function `get_key_from_key_result` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 283 - let salt = get_salt_from_key_result(&key_result, None).unwrap();
[INFO] [stdout] 283 + let salt = get_key_from_key_result(&key_result, None).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 275 + use securetrack_crypto::get_salt_from_key_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/key_derivation.rs - key_derivation::_::__wasm_bindgen_generated_derive_key (line 276) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_salt_from_key_result` in this scope
[INFO] [stdout]    --> src/key_derivation.rs:283:12
[INFO] [stdout]     |
[INFO] [stdout] 283 |   let salt = get_salt_from_key_result(&key_result, None).unwrap();
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/key_derivation.rs:366:1
[INFO] [stdout]     |
[INFO] [stdout] 366 | / pub fn get_key_from_key_result(
[INFO] [stdout] 367 | |     key_result: &[u8],
[INFO] [stdout] 368 | |     config: Option<SecurityConfig>,
[INFO] [stdout] 369 | | ) -> Result<Box<[u8]>> {
[INFO] [stdout]     | |______________________- similarly named function `get_key_from_key_result` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 283 - let salt = get_salt_from_key_result(&key_result, None).unwrap();
[INFO] [stdout] 283 + let salt = get_key_from_key_result(&key_result, None).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 275 + use securetrack_crypto::get_salt_from_key_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encryption.rs - encryption::_::__wasm_bindgen_generated_encrypt_data (line 31) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `encrypt_data` in this scope
[INFO] [stdout]   --> src/encryption.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 | let encrypted = encrypt_data("sensitive information".as_bytes(), &key)?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 31 + use securetrack_crypto::encrypt_data;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/encryption.rs:32:67
[INFO] [stdout]    |
[INFO] [stdout] 32 | let encrypted = encrypt_data("sensitive information".as_bytes(), &key)?;
[INFO] [stdout]    |                                                                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encryption.rs - encryption::encrypt_data (line 31) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `encrypt_data` in this scope
[INFO] [stdout]   --> src/encryption.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 | let encrypted = encrypt_data("sensitive information".as_bytes(), &key)?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 31 + use securetrack_crypto::encrypt_data;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/encryption.rs:32:67
[INFO] [stdout]    |
[INFO] [stdout] 32 | let encrypted = encrypt_data("sensitive information".as_bytes(), &key)?;
[INFO] [stdout]    |                                                                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/key_sharing.rs - key_sharing::_::__wasm_bindgen_generated_combine_key (line 102) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `combine_key` in this scope
[INFO] [stdout]    --> src/key_sharing.rs:103:11
[INFO] [stdout]     |
[INFO] [stdout] 103 | let key = combine_key(&shares)?;
[INFO] [stdout]     |           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 102 + use securetrack_crypto::combine_key;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shares` in this scope
[INFO] [stdout]    --> src/key_sharing.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 | let key = combine_key(&shares)?;
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/signing.rs - signing::_::__wasm_bindgen_generated_sign_command (line 22) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `sign_command` in this scope
[INFO] [stdout]   --> src/signing.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 | let signature = sign_command("LOCK_DEVICE", &key)?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 22 + use securetrack_crypto::sign_command;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/signing.rs:23:46
[INFO] [stdout]    |
[INFO] [stdout] 23 | let signature = sign_command("LOCK_DEVICE", &key)?;
[INFO] [stdout]    |                                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/key_sharing.rs - key_sharing::split_key (line 21) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `split_key` in this scope
[INFO] [stdout]   --> src/key_sharing.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | let shares = split_key(&key, 3, 3)?;
[INFO] [stdout]    |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 21 + use securetrack_crypto::split_key;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/key_sharing.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 | let shares = split_key(&key, 3, 3)?;
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/key_sharing.rs - key_sharing::_::__wasm_bindgen_generated_split_key (line 21) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `split_key` in this scope
[INFO] [stdout]   --> src/key_sharing.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | let shares = split_key(&key, 3, 3)?;
[INFO] [stdout]    |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 21 + use securetrack_crypto::split_key;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/key_sharing.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 | let shares = split_key(&key, 3, 3)?;
[INFO] [stdout]    |                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/key_sharing.rs - key_sharing::combine_key (line 102) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `combine_key` in this scope
[INFO] [stdout]    --> src/key_sharing.rs:103:11
[INFO] [stdout]     |
[INFO] [stdout] 103 | let key = combine_key(&shares)?;
[INFO] [stdout]     |           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 102 + use securetrack_crypto::combine_key;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shares` in this scope
[INFO] [stdout]    --> src/key_sharing.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 | let key = combine_key(&shares)?;
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/signing.rs - signing::verify_command (line 102) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `verify_command` in this scope
[INFO] [stdout]    --> src/signing.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 | let is_valid = verify_command("LOCK_DEVICE", &signature, &key)?;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 102 + use securetrack_crypto::verify_command;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `signature` in this scope
[INFO] [stdout]    --> src/signing.rs:103:47
[INFO] [stdout]     |
[INFO] [stdout] 103 | let is_valid = verify_command("LOCK_DEVICE", &signature, &key)?;
[INFO] [stdout]     |                                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]    --> src/signing.rs:103:59
[INFO] [stdout]     |
[INFO] [stdout] 103 | let is_valid = verify_command("LOCK_DEVICE", &signature, &key)?;
[INFO] [stdout]     |                                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/signing.rs - signing::_::__wasm_bindgen_generated_verify_command (line 102) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `verify_command` in this scope
[INFO] [stdout]    --> src/signing.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 | let is_valid = verify_command("LOCK_DEVICE", &signature, &key)?;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 102 + use securetrack_crypto::verify_command;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `signature` in this scope
[INFO] [stdout]    --> src/signing.rs:103:47
[INFO] [stdout]     |
[INFO] [stdout] 103 | let is_valid = verify_command("LOCK_DEVICE", &signature, &key)?;
[INFO] [stdout]     |                                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]    --> src/signing.rs:103:59
[INFO] [stdout]     |
[INFO] [stdout] 103 | let is_valid = verify_command("LOCK_DEVICE", &signature, &key)?;
[INFO] [stdout]     |                                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/signing.rs - signing::sign_command (line 22) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `sign_command` in this scope
[INFO] [stdout]   --> src/signing.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 | let signature = sign_command("LOCK_DEVICE", &key)?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 22 + use securetrack_crypto::sign_command;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/signing.rs:23:46
[INFO] [stdout]    |
[INFO] [stdout] 23 | let signature = sign_command("LOCK_DEVICE", &key)?;
[INFO] [stdout]    |                                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/encryption.rs - encryption::_::__wasm_bindgen_generated_decrypt_data (line 102)
[INFO] [stdout]     src/encryption.rs - encryption::_::__wasm_bindgen_generated_encrypt_data (line 31)
[INFO] [stdout]     src/encryption.rs - encryption::decrypt_data (line 102)
[INFO] [stdout]     src/encryption.rs - encryption::encrypt_data (line 31)
[INFO] [stdout]     src/key_derivation.rs - key_derivation::_::__wasm_bindgen_generated_derive_key (line 276)
[INFO] [stdout]     src/key_derivation.rs - key_derivation::derive_key (line 276)
[INFO] [stdout]     src/key_sharing.rs - key_sharing::_::__wasm_bindgen_generated_combine_key (line 102)
[INFO] [stdout]     src/key_sharing.rs - key_sharing::_::__wasm_bindgen_generated_split_key (line 21)
[INFO] [stdout]     src/key_sharing.rs - key_sharing::combine_key (line 102)
[INFO] [stdout]     src/key_sharing.rs - key_sharing::split_key (line 21)
[INFO] [stdout]     src/signing.rs - signing::_::__wasm_bindgen_generated_sign_command (line 22)
[INFO] [stdout]     src/signing.rs - signing::_::__wasm_bindgen_generated_verify_command (line 102)
[INFO] [stdout]     src/signing.rs - signing::sign_command (line 22)
[INFO] [stdout]     src/signing.rs - signing::verify_command (line 102)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 14.02s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cfbc376f38779e1b90526461386b7f8950f56f34cbaec0f5369778bfcad487d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfbc376f38779e1b90526461386b7f8950f56f34cbaec0f5369778bfcad487d2", kill_on_drop: false }`
[INFO] [stdout] cfbc376f38779e1b90526461386b7f8950f56f34cbaec0f5369778bfcad487d2
