[INFO] updating cached repository LaurentMazare/ultra [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/LaurentMazare/ultra [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/LaurentMazare/ultra" "work/ex/beta-1.38-1/sources/1.37.0/gh/LaurentMazare/ultra"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/LaurentMazare/ultra'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/LaurentMazare/ultra" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/LaurentMazare/ultra"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/LaurentMazare/ultra'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f2f71eb5eda108f7bb6e3b568b2f56229e0b8cbc [INFO] sha for GitHub repo LaurentMazare/ultra: f2f71eb5eda108f7bb6e3b568b2f56229e0b8cbc [INFO] validating manifest of LaurentMazare/ultra on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of LaurentMazare/ultra on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing LaurentMazare/ultra [INFO] finished frobbing LaurentMazare/ultra [INFO] frobbed toml for LaurentMazare/ultra written to work/ex/beta-1.38-1/sources/1.37.0/gh/LaurentMazare/ultra/Cargo.toml [INFO] started frobbing LaurentMazare/ultra [INFO] finished frobbing LaurentMazare/ultra [INFO] frobbed toml for LaurentMazare/ultra written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/LaurentMazare/ultra/Cargo.toml [INFO] crate LaurentMazare/ultra already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing LaurentMazare/ultra against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/LaurentMazare/ultra:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 42819cfe3131e623075eafd1fe0f1c9fa8f99730484b4fd4eb1e22ceb4fdf74b [INFO] running `"docker" "start" "-a" "42819cfe3131e623075eafd1fe0f1c9fa8f99730484b4fd4eb1e22ceb4fdf74b"` [INFO] [stderr] Compiling enigma v0.0.1 (/opt/crater/workdir) [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] 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[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] 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` head 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` head 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` head 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` head 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` head 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 type `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] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `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] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | match io::stdin().read_line() { [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [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] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | match io::stdin().read_line() { [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [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] | ^^^^^^^^ [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] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `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] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `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] | ^^^^^^^^ [INFO] [stderr] [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" "42819cfe3131e623075eafd1fe0f1c9fa8f99730484b4fd4eb1e22ceb4fdf74b"` [INFO] running `"docker" "rm" "-f" "42819cfe3131e623075eafd1fe0f1c9fa8f99730484b4fd4eb1e22ceb4fdf74b"` [INFO] [stdout] 42819cfe3131e623075eafd1fe0f1c9fa8f99730484b4fd4eb1e22ceb4fdf74b