[INFO] updating cached repository https://github.com/LaurentMazare/ultra
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] f2f71eb5eda108f7bb6e3b568b2f56229e0b8cbc
[INFO] checking LaurentMazare/ultra against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentMazare%2Fultra" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LaurentMazare/ultra on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/LaurentMazare/ultra
[INFO] finished tweaking git repo https://github.com/LaurentMazare/ultra
[INFO] tweaked toml for git repo https://github.com/LaurentMazare/ultra written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/LaurentMazare/ultra already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f32777f85a3a147886d0b755eb65bc4b92d90471d3db4e00f6cd76b188dd65d8
[INFO] running `"docker" "start" "-a" "f32777f85a3a147886d0b755eb65bc4b92d90471d3db4e00f6cd76b188dd65d8"`
[INFO] [stderr]     Checking enigma v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unknown lint: `unstable`
[INFO] [stderr]  --> src/main.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | #![allow(unstable)]
[INFO] [stderr]   |          ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/encrypt.rs:66:21
[INFO] [stderr]    |
[INFO] [stderr] 66 |         for idx in (0us .. config.rotors.len() - 1) {
[INFO] [stderr]    |                     ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/encrypt.rs:72:29
[INFO] [stderr]    |
[INFO] [stderr] 72 |                 for idx in (0us .. last_gray + 2) {
[INFO] [stderr]    |                             ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]    --> src/encrypt.rs:143:23
[INFO] [stderr]     |
[INFO] [stderr] 143 |     for rotor_idx in (0us .. ROTORS.len()) {
[INFO] [stderr]     |                       ^^^ invalid suffix `us`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] warning: unknown lint: `unstable`
[INFO] [stderr]  --> src/main.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | #![allow(unstable)]
[INFO] [stderr]   |          ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/encrypt.rs:66:21
[INFO] [stderr]    |
[INFO] [stderr] 66 |         for idx in (0us .. config.rotors.len() - 1) {
[INFO] [stderr]    |                     ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/encrypt.rs:72:29
[INFO] [stderr]    |
[INFO] [stderr] 72 |                 for idx in (0us .. last_gray + 2) {
[INFO] [stderr]    |                             ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]    --> src/encrypt.rs:143:23
[INFO] [stderr]     |
[INFO] [stderr] 143 |     for rotor_idx in (0us .. ROTORS.len()) {
[INFO] [stderr]     |                       ^^^ invalid suffix `us`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/cryptanalysis.rs:24:19
[INFO] [stderr]    |
[INFO] [stderr] 24 |         for i in (0us .. n) {
[INFO] [stderr]    |                   ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/cryptanalysis.rs:41:17
[INFO] [stderr]    |
[INFO] [stderr] 41 |     for idx in (0us .. text.len()) {
[INFO] [stderr]    |                 ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/cryptanalysis.rs:62:43
[INFO] [stderr]    |
[INFO] [stderr] 62 |     for rotor_config in Product::new(5u8, 3us) {
[INFO] [stderr]    |                                           ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/cryptanalysis.rs:66:39
[INFO] [stderr]    |
[INFO] [stderr] 66 |         for key in Product::new(26u8, 3us) {
[INFO] [stderr]    |                                       ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/cryptanalysis.rs:98:41
[INFO] [stderr]    |
[INFO] [stderr] 98 |         for rings in Product::new(26u8, 3us) {
[INFO] [stderr]    |                                         ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/cryptanalysis.rs:24:19
[INFO] [stderr]    |
[INFO] [stderr] 24 |         for i in (0us .. n) {
[INFO] [stderr]    |                   ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/cryptanalysis.rs:41:17
[INFO] [stderr]    |
[INFO] [stderr] 41 |     for idx in (0us .. text.len()) {
[INFO] [stderr]    |                 ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/cryptanalysis.rs:62:43
[INFO] [stderr]    |
[INFO] [stderr] 62 |     for rotor_config in Product::new(5u8, 3us) {
[INFO] [stderr]    |                                           ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/cryptanalysis.rs:66:39
[INFO] [stderr]    |
[INFO] [stderr] 66 |         for key in Product::new(26u8, 3us) {
[INFO] [stderr]    |                                       ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `us` for integer literal
[INFO] [stderr]   --> src/cryptanalysis.rs:98:41
[INFO] [stderr]    |
[INFO] [stderr] 98 |         for rings in Product::new(26u8, 3us) {
[INFO] [stderr]    |                                         ^^^ invalid suffix `us`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `args` in module `os`
[INFO] [stderr]   --> src/main.rs:50:20
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let args = os::args();
[INFO] [stderr]    |                    ^^^^ not found in `os`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 2  | use std::env::args;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `args` in module `os`
[INFO] [stderr]   --> src/main.rs:50:20
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let args = os::args();
[INFO] [stderr]    |                    ^^^^ not found in `os`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 2  | use std::env::args;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]   --> src/encrypt.rs:66:20
[INFO] [stderr]    |
[INFO] [stderr] 66 |         for idx in (0us .. config.rotors.len() - 1) {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]   --> src/encrypt.rs:72:28
[INFO] [stderr]    |
[INFO] [stderr] 72 |                 for idx in (0us .. last_gray + 2) {
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]    --> src/encrypt.rs:143:22
[INFO] [stderr]     |
[INFO] [stderr] 143 |     for rotor_idx in (0us .. ROTORS.len()) {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]   --> src/encrypt.rs:66:20
[INFO] [stderr]    |
[INFO] [stderr] 66 |         for idx in (0us .. config.rotors.len() - 1) {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]   --> src/encrypt.rs:72:28
[INFO] [stderr]    |
[INFO] [stderr] 72 |                 for idx in (0us .. last_gray + 2) {
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]    --> src/encrypt.rs:143:22
[INFO] [stderr]     |
[INFO] [stderr] 143 |     for rotor_idx in (0us .. ROTORS.len()) {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]   --> src/cryptanalysis.rs:24:18
[INFO] [stderr]    |
[INFO] [stderr] 24 |         for i in (0us .. n) {
[INFO] [stderr]    |                  ^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]   --> src/cryptanalysis.rs:41:16
[INFO] [stderr]    |
[INFO] [stderr] 41 |     for idx in (0us .. text.len()) {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]   --> src/cryptanalysis.rs:24:18
[INFO] [stderr]    |
[INFO] [stderr] 24 |         for i in (0us .. n) {
[INFO] [stderr]    |                  ^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]   --> src/cryptanalysis.rs:41:16
[INFO] [stderr]    |
[INFO] [stderr] 41 |     for idx in (0us .. text.len()) {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:14:27
[INFO] [stderr]    |
[INFO] [stderr] 14 |         let key = args[2].as_slice(); 
[INFO] [stderr]    |                           ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:15:29
[INFO] [stderr]    |
[INFO] [stderr] 15 |         let rings = args[3].as_slice();
[INFO] [stderr]    |                             ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stderr]   --> src/main.rs:23:31
[INFO] [stderr]    |
[INFO] [stderr] 23 |             match io::stdin().read_line() {
[INFO] [stderr]    |                               ^^^^^^^^^- supplied 0 arguments
[INFO] [stderr]    |                               |
[INFO] [stderr]    |                               expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stderr]   --> src/main.rs:25:57
[INFO] [stderr]    |
[INFO] [stderr] 25 |                     let output = encrypt::encrypt(input.as_slice(), &rotor_config, key, rings);
[INFO] [stderr]    |                                                         ^^^^^^^^ method not found in `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stderr]   --> src/main.rs:35:23
[INFO] [stderr]    |
[INFO] [stderr] 35 |     match io::stdin().read_line() {
[INFO] [stderr]    |                       ^^^^^^^^^- supplied 0 arguments
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stderr]   --> src/main.rs:37:52
[INFO] [stderr]    |
[INFO] [stderr] 37 |             match cryptanalysis::brute_force(input.as_slice()) {
[INFO] [stderr]    |                                                    ^^^^^^^^ method not found in `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stderr]   --> src/main.rs:41:59
[INFO] [stderr]    |
[INFO] [stderr] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stderr]    |                                                           ^^^^^^^^ method not found in `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:41:90
[INFO] [stderr]    |
[INFO] [stderr] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stderr]    |                                                                                          ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:41:108
[INFO] [stderr]    |
[INFO] [stderr] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stderr]    |                                                                                                            ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stderr]    --> src/encrypt.rs:185:162
[INFO] [stderr]     |
[INFO] [stderr] 185 |         "QUEJAIMEAFAIREAPPRENDREUNNOMBREUTILEAUXSAGESIMMORTELARCHIMEDEARTISTEINGENIEURQUIDETONJUGEMENTPEUTPRISERLAVALEURPOURMOITONPROBLEMEEUTDEPAREILSAVANTAGES".as_slice(),
[INFO] [stderr]     |                                                                                                                                                                  ^^^^^^^^ method not found in `&'static str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stderr]    --> src/encrypt.rs:186:162
[INFO] [stderr]     |
[INFO] [stderr] 186 |         "UBTSGAGKIOJYHNNGYGWDIEXLIQQHDVALZBFLTKVPIDHNHPETEHGGEEKDCCGBSWDQJGYFPUDHIVBWNLTJHPJPTMHJYFPKSYUBUOPOTFHSJJBFCVUJVJWSMDJVQCZKEMBYLBJFIZRDZFCIQORVGBOBIT".as_slice(),
[INFO] [stderr]     |                                                                                                                                                                  ^^^^^^^^ method not found in `&'static str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stderr]    --> src/encrypt.rs:187:35
[INFO] [stderr]     |
[INFO] [stderr] 187 |         &vec![ 0u8, 1, 2 ], "AAA".as_slice(), "AAA".as_slice()
[INFO] [stderr]     |                                   ^^^^^^^^ method not found in `&'static str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stderr]    --> src/encrypt.rs:187:53
[INFO] [stderr]     |
[INFO] [stderr] 187 |         &vec![ 0u8, 1, 2 ], "AAA".as_slice(), "AAA".as_slice()
[INFO] [stderr]     |                                                     ^^^^^^^^ method not found in `&'static str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stderr]    --> src/encrypt.rs:190:22
[INFO] [stderr]     |
[INFO] [stderr] 190 |         "HELLOWORLD".as_slice(),
[INFO] [stderr]     |                      ^^^^^^^^ method not found in `&'static str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stderr]    --> src/encrypt.rs:191:22
[INFO] [stderr]     |
[INFO] [stderr] 191 |         "CDMOGOSHXC".as_slice(),
[INFO] [stderr]     |                      ^^^^^^^^ method not found in `&'static str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stderr]    --> src/encrypt.rs:192:35
[INFO] [stderr]     |
[INFO] [stderr] 192 |         &vec![ 0u8, 1, 2 ], "LMZ".as_slice(), "AAA".as_slice()
[INFO] [stderr]     |                                   ^^^^^^^^ method not found in `&'static str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&'static str` in the current scope
[INFO] [stderr]    --> src/encrypt.rs:192:53
[INFO] [stderr]     |
[INFO] [stderr] 192 |         &vec![ 0u8, 1, 2 ], "LMZ".as_slice(), "AAA".as_slice()
[INFO] [stderr]     |                                                     ^^^^^^^^ method not found in `&'static str`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:14:27
[INFO] [stderr]    |
[INFO] [stderr] 14 |         let key = args[2].as_slice(); 
[INFO] [stderr]    |                           ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:15:29
[INFO] [stderr]    |
[INFO] [stderr] 15 |         let rings = args[3].as_slice();
[INFO] [stderr]    |                             ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stderr]   --> src/main.rs:23:31
[INFO] [stderr]    |
[INFO] [stderr] 23 |             match io::stdin().read_line() {
[INFO] [stderr]    |                               ^^^^^^^^^- supplied 0 arguments
[INFO] [stderr]    |                               |
[INFO] [stderr]    |                               expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stderr]   --> src/main.rs:25:57
[INFO] [stderr]    |
[INFO] [stderr] 25 |                     let output = encrypt::encrypt(input.as_slice(), &rotor_config, key, rings);
[INFO] [stderr]    |                                                         ^^^^^^^^ method not found in `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stderr]   --> src/main.rs:35:23
[INFO] [stderr]    |
[INFO] [stderr] 35 |     match io::stdin().read_line() {
[INFO] [stderr]    |                       ^^^^^^^^^- supplied 0 arguments
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stderr]   --> src/main.rs:37:52
[INFO] [stderr]    |
[INFO] [stderr] 37 |             match cryptanalysis::brute_force(input.as_slice()) {
[INFO] [stderr]    |                                                    ^^^^^^^^ method not found in `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stderr]   --> src/main.rs:41:59
[INFO] [stderr]    |
[INFO] [stderr] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stderr]    |                                                           ^^^^^^^^ method not found in `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:41:90
[INFO] [stderr]    |
[INFO] [stderr] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stderr]    |                                                                                          ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:41:108
[INFO] [stderr]    |
[INFO] [stderr] 41 |                     println!("{}", encrypt::encrypt(input.as_slice(), &rotor_config, key.as_slice(), rings.as_slice()));
[INFO] [stderr]    |                                                                                                            ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 26 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0425, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `enigma`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: aborting due to 18 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0425, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `enigma`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "f32777f85a3a147886d0b755eb65bc4b92d90471d3db4e00f6cd76b188dd65d8"`
[INFO] running `"docker" "rm" "-f" "f32777f85a3a147886d0b755eb65bc4b92d90471d3db4e00f6cd76b188dd65d8"`
[INFO] [stdout] f32777f85a3a147886d0b755eb65bc4b92d90471d3db4e00f6cd76b188dd65d8
