[INFO] updating cached repository ninjapanzer/rust_bible_word_reader [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ninjapanzer/rust_bible_word_reader [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ninjapanzer/rust_bible_word_reader" "work/ex/beta-1.38-1/sources/1.37.0/gh/ninjapanzer/rust_bible_word_reader"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/ninjapanzer/rust_bible_word_reader'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ninjapanzer/rust_bible_word_reader" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/ninjapanzer/rust_bible_word_reader"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/ninjapanzer/rust_bible_word_reader'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2e2cebbd86185020390659e578d1b1d14faa906e [INFO] sha for GitHub repo ninjapanzer/rust_bible_word_reader: 2e2cebbd86185020390659e578d1b1d14faa906e [INFO] validating manifest of ninjapanzer/rust_bible_word_reader 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 ninjapanzer/rust_bible_word_reader 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 ninjapanzer/rust_bible_word_reader [INFO] finished frobbing ninjapanzer/rust_bible_word_reader [INFO] frobbed toml for ninjapanzer/rust_bible_word_reader written to work/ex/beta-1.38-1/sources/1.37.0/gh/ninjapanzer/rust_bible_word_reader/Cargo.toml [INFO] started frobbing ninjapanzer/rust_bible_word_reader [INFO] finished frobbing ninjapanzer/rust_bible_word_reader [INFO] frobbed toml for ninjapanzer/rust_bible_word_reader written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/ninjapanzer/rust_bible_word_reader/Cargo.toml [INFO] crate ninjapanzer/rust_bible_word_reader 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing ninjapanzer/rust_bible_word_reader against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/ninjapanzer/rust_bible_word_reader:/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 462666b91aa69107260cc7968613ba004911341f418f128d223a073ef4c222fd [INFO] running `"docker" "start" "-a" "462666b91aa69107260cc7968613ba004911341f418f128d223a073ef4c222fd"` [INFO] [stderr] Compiling cargo_ldoc v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | count = value + 1i; [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | count = 1i [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::Open`, `std::io::IoResult`, `std::io::BufferedReader` [INFO] [stderr] --> src/lib.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{File, Open, Write, IoResult, BufferedReader}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stderr] | | | | [INFO] [stderr] | | | no `IoResult` in `io` [INFO] [stderr] | | | help: a similar name exists in the module: `Result` [INFO] [stderr] | | no `Open` in `io` [INFO] [stderr] | no `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/lib.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | let mut f = File::open(&Path::new("10.txt")); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/lib.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | let p = Path::new(fname); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | let value:int = *(word_counts.get(word).unwrap()); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found trait `Write` [INFO] [stderr] --> src/lib.rs:26:41 [INFO] [stderr] | [INFO] [stderr] 26 | let mut f = File::open_mode(&p, Open, Write); [INFO] [stderr] | ^^^^^ not a value [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::Shutdown::Write; [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/lib.rs:30:20 [INFO] [stderr] | [INFO] [stderr] 30 | f.write_line(a.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0423, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `cargo_ldoc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "462666b91aa69107260cc7968613ba004911341f418f128d223a073ef4c222fd"` [INFO] running `"docker" "rm" "-f" "462666b91aa69107260cc7968613ba004911341f418f128d223a073ef4c222fd"` [INFO] [stdout] 462666b91aa69107260cc7968613ba004911341f418f128d223a073ef4c222fd