[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] testing LaurentMazare/ultra against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentMazare%2Fultra" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LaurentMazare/ultra on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-4/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 811b2bc7709ecefea170c033135589831da5d2c330d17df00332cf8d37c6cd39 [INFO] running `"docker" "start" "-a" "811b2bc7709ecefea170c033135589831da5d2c330d17df00332cf8d37c6cd39"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling 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] 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: consider importing this function [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/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: aborting due to 18 previous errors; 6 warnings emitted [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" "811b2bc7709ecefea170c033135589831da5d2c330d17df00332cf8d37c6cd39"` [INFO] running `"docker" "rm" "-f" "811b2bc7709ecefea170c033135589831da5d2c330d17df00332cf8d37c6cd39"` [INFO] [stdout] 811b2bc7709ecefea170c033135589831da5d2c330d17df00332cf8d37c6cd39