[INFO] fetching crate SadieFish 0.1.1... [INFO] testing SadieFish-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate SadieFish 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate SadieFish 0.1.1 [INFO] finished tweaking crates.io crate SadieFish 0.1.1 [INFO] tweaked toml for crates.io crate SadieFish 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate SadieFish 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 128 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding shaderc v0.6.3 (available: v0.9.1) [INFO] [stderr] Adding winit v0.22.2 (available: v0.30.11) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndk-glue v0.1.0 [INFO] [stderr] Downloaded shaderc v0.6.3 [INFO] [stderr] Downloaded cocoa v0.20.2 [INFO] [stderr] Downloaded ndk v0.1.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.3 [INFO] [stderr] Downloaded ndk-sys v0.1.0 [INFO] [stderr] Downloaded winit v0.22.2 [INFO] [stderr] Downloaded shaderc-sys v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 143820a0611c1465d60fca5cb69967916c4b246abb180b21a5f56813925de3f9 [INFO] running `Command { std: "docker" "start" "-a" "143820a0611c1465d60fca5cb69967916c4b246abb180b21a5f56813925de3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "143820a0611c1465d60fca5cb69967916c4b246abb180b21a5f56813925de3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143820a0611c1465d60fca5cb69967916c4b246abb180b21a5f56813925de3f9", kill_on_drop: false }` [INFO] [stdout] 143820a0611c1465d60fca5cb69967916c4b246abb180b21a5f56813925de3f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 364e488d1dbaa8e64669a59fb7e06093ebe09ded3529ec570569b368e719e67b [INFO] running `Command { std: "docker" "start" "-a" "364e488d1dbaa8e64669a59fb7e06093ebe09ded3529ec570569b368e719e67b", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling SadieFish v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `workspace` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "workspace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `workspace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `default` [INFO] [stdout] --> src/lib.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "default")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `default` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `caesar` [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "caesar", feature = "vigenere"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `caesar` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `vigenere` [INFO] [stdout] --> src/lib.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "caesar", feature = "vigenere"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `vigenere` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hex` [INFO] [stdout] --> src/lib.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(any(feature = "hex"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `hex` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caesar_encrypt` is never used [INFO] [stdout] --> src/encryption/caesar.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn caesar_encrypt(plaintext: &str, shift: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caesar_decrypt` is never used [INFO] [stdout] --> src/encryption/caesar.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn caesar_decrypt(ciphertext: &str, shift: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/encryption/caesar.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_ALPHABET` is never used [INFO] [stdout] --> src/utils/hex.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const HEX_ALPHABET: &[u8; 16] = b"0123456789abcdef"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_hex` is never used [INFO] [stdout] --> src/utils/hex.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn encode_hex(input: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_hex` is never used [INFO] [stdout] --> src/utils/hex.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn decode_hex(input: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `SadieFish` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `sadie_fish` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.46s [INFO] running `Command { std: "docker" "inspect" "364e488d1dbaa8e64669a59fb7e06093ebe09ded3529ec570569b368e719e67b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "364e488d1dbaa8e64669a59fb7e06093ebe09ded3529ec570569b368e719e67b", kill_on_drop: false }` [INFO] [stdout] 364e488d1dbaa8e64669a59fb7e06093ebe09ded3529ec570569b368e719e67b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d9736db5e919f0cc253d00164fa2002aefdb6f1f2247e11086a29a8420ca4862 [INFO] running `Command { std: "docker" "start" "-a" "d9736db5e919f0cc253d00164fa2002aefdb6f1f2247e11086a29a8420ca4862", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stdout] warning: unexpected `cfg` condition value: `workspace` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "workspace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `workspace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `default` [INFO] [stdout] --> src/lib.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "default")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `default` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `caesar` [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "caesar", feature = "vigenere"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `caesar` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `vigenere` [INFO] [stdout] --> src/lib.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(any(feature = "caesar", feature = "vigenere"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `vigenere` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hex` [INFO] [stdout] --> src/lib.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(any(feature = "hex"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `hex` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caesar_encrypt` is never used [INFO] [stdout] --> src/encryption/caesar.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn caesar_encrypt(plaintext: &str, shift: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caesar_decrypt` is never used [INFO] [stdout] --> src/encryption/caesar.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn caesar_decrypt(ciphertext: &str, shift: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/encryption/caesar.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_ALPHABET` is never used [INFO] [stdout] --> src/utils/hex.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const HEX_ALPHABET: &[u8; 16] = b"0123456789abcdef"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_hex` is never used [INFO] [stdout] --> src/utils/hex.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn encode_hex(input: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_hex` is never used [INFO] [stdout] --> src/utils/hex.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn decode_hex(input: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `SadieFish` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `sadie_fish` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling SadieFish v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sadiefish` [INFO] [stdout] --> tests/encryption_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sadiefish::{encrypt, decrypt}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `sadiefish` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 1 - use sadiefish::{encrypt, decrypt}; [INFO] [stdout] 1 + use SadieFish::{encrypt, decrypt}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caesar_encrypt` is never used [INFO] [stdout] --> src/encryption/caesar.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn caesar_encrypt(plaintext: &str, shift: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caesar_decrypt` is never used [INFO] [stdout] --> src/encryption/caesar.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn caesar_decrypt(ciphertext: &str, shift: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/encryption/caesar.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_ALPHABET` is never used [INFO] [stdout] --> src/utils/hex.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const HEX_ALPHABET: &[u8; 16] = b"0123456789abcdef"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_hex` is never used [INFO] [stdout] --> src/utils/hex.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn encode_hex(input: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_hex` is never used [INFO] [stdout] --> src/utils/hex.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn decode_hex(input: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `ChildStdout` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | child.stdout.take().unwrap().read_to_string(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:991:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `ChildStdout` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Read` which provides `read_to_string` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Read; [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_to_end` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - child.stdout.take().unwrap().read_to_string(&mut output).unwrap(); [INFO] [stdout] 22 + child.stdout.take().unwrap().read_to_end(&mut output).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `SadieFish` (test "encryption_tests") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `SadieFish` (test "integration_tests") due to 1 previous error [INFO] [stdout] error[E0425]: cannot find function `encrypt` in this scope [INFO] [stdout] --> tests/unit_tests.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let ciphertext = encrypt(plaintext, &key).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use SadieFish::encryption::vigenere::encrypt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decrypt` in this scope [INFO] [stdout] --> tests/unit_tests.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | let decrypted = decrypt(&ciphertext, &key).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use SadieFish::encryption::vigenere::decrypt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encrypt` in this scope [INFO] [stdout] --> tests/unit_tests.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let ciphertext = encrypt(plaintext, &key).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use SadieFish::encryption::vigenere::encrypt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decrypt` in this scope [INFO] [stdout] --> tests/unit_tests.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let decrypted = decrypt(&ciphertext, &wrong_key); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use SadieFish::encryption::vigenere::decrypt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encrypt` in this scope [INFO] [stdout] --> tests/unit_tests.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let encrypted = encrypt(plaintext, key); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use SadieFish::encryption::vigenere::encrypt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decrypt` in this scope [INFO] [stdout] --> tests/unit_tests.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let decrypted = decrypt(ciphertext, key); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use SadieFish::encryption::vigenere::decrypt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encrypt` in this scope [INFO] [stdout] --> tests/unit_tests.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let ciphertext = encrypt(plaintext, &key).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use SadieFish::encryption::vigenere::encrypt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decrypt` in this scope [INFO] [stdout] --> tests/unit_tests.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let decrypted = decrypt(&ciphertext, &key).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use SadieFish::encryption::vigenere::decrypt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encrypt` in this scope [INFO] [stdout] --> tests/unit_tests.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | let ciphertext = encrypt(&plaintext, &key).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use SadieFish::encryption::vigenere::encrypt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decrypt` in this scope [INFO] [stdout] --> tests/unit_tests.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | let decrypted = decrypt(&ciphertext, &key).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use SadieFish::encryption::vigenere::decrypt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/unit_tests.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope [INFO] [stdout] --> tests/unit_tests.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let key = generate_key(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope [INFO] [stdout] --> tests/unit_tests.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let key = generate_key(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope [INFO] [stdout] --> tests/unit_tests.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let key = generate_key(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope [INFO] [stdout] --> tests/unit_tests.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let wrong_key = generate_key(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope [INFO] [stdout] --> tests/unit_tests.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let key = generate_key(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope [INFO] [stdout] --> tests/unit_tests.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let key = generate_key(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> tests/unit_tests.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | let len = rng.gen_range(0, 1000); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rng.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Rng` which provides `gen_range` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] help: there is a method `gen_ratio` with a similar name [INFO] [stdout] | [INFO] [stdout] 87 - let len = rng.gen_range(0, 1000); [INFO] [stdout] 87 + let len = rng.gen_ratio(0, 1000); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_key` in this scope [INFO] [stdout] --> tests/unit_tests.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let key = generate_key(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `SadieFish` (test "unit_tests") due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d9736db5e919f0cc253d00164fa2002aefdb6f1f2247e11086a29a8420ca4862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9736db5e919f0cc253d00164fa2002aefdb6f1f2247e11086a29a8420ca4862", kill_on_drop: false }` [INFO] [stdout] d9736db5e919f0cc253d00164fa2002aefdb6f1f2247e11086a29a8420ca4862