[INFO] updating cached repository sehnsucht13/rshell [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/sehnsucht13/rshell [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/sehnsucht13/rshell" "work/ex/beta-1.38-1/sources/1.37.0/gh/sehnsucht13/rshell"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/sehnsucht13/rshell'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/sehnsucht13/rshell" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/sehnsucht13/rshell"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/sehnsucht13/rshell'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 93009e7930497370268640a8ebe989a5c7770769 [INFO] sha for GitHub repo sehnsucht13/rshell: 93009e7930497370268640a8ebe989a5c7770769 [INFO] validating manifest of sehnsucht13/rshell 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 sehnsucht13/rshell 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 sehnsucht13/rshell [INFO] finished frobbing sehnsucht13/rshell [INFO] frobbed toml for sehnsucht13/rshell written to work/ex/beta-1.38-1/sources/1.37.0/gh/sehnsucht13/rshell/Cargo.toml [INFO] started frobbing sehnsucht13/rshell [INFO] finished frobbing sehnsucht13/rshell [INFO] frobbed toml for sehnsucht13/rshell written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/sehnsucht13/rshell/Cargo.toml [INFO] crate sehnsucht13/rshell 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 sehnsucht13/rshell 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-0/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/sehnsucht13/rshell:/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] 52b7a5ca8c808d3027ee93841a1514e4ec864c0b336b3f93675267f4297d9968 [INFO] running `"docker" "start" "-a" "52b7a5ca8c808d3027ee93841a1514e4ec864c0b336b3f93675267f4297d9968"` [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling rshell v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/builtins.rs:85:21 [INFO] [stderr] | [INFO] [stderr] 85 | directory = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/history.rs:83:34 [INFO] [stderr] | [INFO] [stderr] 83 | self.history_log.get(index).unwrap().command.to_string() [INFO] [stderr] | ^^^^^ expected usize, found i64 [INFO] [stderr] help: you can convert an `i64` to `usize` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 83 | self.history_log.get(index.try_into().unwrap()).unwrap().command.to_string() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/history.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn get_nth_command(&self, comm_number: i64) -> Option { [INFO] [stderr] | -------------- expected `std::option::Option` because of return type [INFO] [stderr] ... [INFO] [stderr] 83 | self.history_log.get(index).unwrap().command.to_string() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/history.rs:84:16 [INFO] [stderr] | [INFO] [stderr] 84 | } else { [INFO] [stderr] | ________________^ [INFO] [stderr] 85 | | [INFO] [stderr] 86 | | } [INFO] [stderr] | |_________^ expected enum `std::option::Option`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `rshell`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "52b7a5ca8c808d3027ee93841a1514e4ec864c0b336b3f93675267f4297d9968"` [INFO] running `"docker" "rm" "-f" "52b7a5ca8c808d3027ee93841a1514e4ec864c0b336b3f93675267f4297d9968"` [INFO] [stdout] 52b7a5ca8c808d3027ee93841a1514e4ec864c0b336b3f93675267f4297d9968