[INFO] updating cached repository elegios/konkordans [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/elegios/konkordans [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/elegios/konkordans" "work/ex/beta-1.38-1/sources/1.37.0/gh/elegios/konkordans"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/elegios/konkordans'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/elegios/konkordans" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/elegios/konkordans"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/elegios/konkordans'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 74d5e8980b883bf2d5833b86b17a691b796dc3a3 [INFO] sha for GitHub repo elegios/konkordans: 74d5e8980b883bf2d5833b86b17a691b796dc3a3 [INFO] validating manifest of elegios/konkordans 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 elegios/konkordans 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 elegios/konkordans [INFO] finished frobbing elegios/konkordans [INFO] frobbed toml for elegios/konkordans written to work/ex/beta-1.38-1/sources/1.37.0/gh/elegios/konkordans/Cargo.toml [INFO] started frobbing elegios/konkordans [INFO] finished frobbing elegios/konkordans [INFO] frobbed toml for elegios/konkordans written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/elegios/konkordans/Cargo.toml [INFO] crate elegios/konkordans 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] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/elegios/konkordans/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/lifthrasiir/rust-encoding.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/lifthrasiir/rust-encoding.git` [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 elegios/konkordans 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-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/elegios/konkordans:/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] b48f7c7d07aa64ff8f7b30e64f8228dc0105d28c788a08656496fc626e48277c [INFO] running `"docker" "start" "-a" "b48f7c7d07aa64ff8f7b30e64f8228dc0105d28c788a08656496fc626e48277c"` [INFO] [stderr] Compiling encoding_index_tests v0.1.5 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30) [INFO] [stderr] Compiling encoding-types v0.2.0 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30) [INFO] [stderr] Compiling encoding-index-simpchinese v1.20160120.0 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30) [INFO] [stderr] Compiling encoding-index-korean v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30) [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30) [INFO] [stderr] Compiling encoding-index-singlebyte v1.20160120.0 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30) [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30) [INFO] [stderr] Compiling encoding v0.3.0-dev (https://github.com/lifthrasiir/rust-encoding.git#eb3d3c30) [INFO] [stderr] Compiling konkordans v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `encoding::DecodeStrict` [INFO] [stderr] --> src/main.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use encoding::{Encoding, DecodeStrict}; [INFO] [stderr] | ^^^^^^^^^^^^ no `DecodeStrict` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io` [INFO] [stderr] --> src/main.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | let mut latman = io::BufferedWriter::new(io::File::create(&Path::new("index/latman"))); [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stderr] --> src/main.rs:15:47 [INFO] [stderr] | [INFO] [stderr] 15 | let mut latman = io::BufferedWriter::new(io::File::create(&Path::new("index/latman"))); [INFO] [stderr] | ^^^^ could not find `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:15:61 [INFO] [stderr] | [INFO] [stderr] 15 | let mut latman = io::BufferedWriter::new(io::File::create(&Path::new("index/latman"))); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io` [INFO] [stderr] --> src/main.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | let mut words = io::BufferedWriter::new(io::File::create(&Path::new("index/words"))); [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stderr] --> src/main.rs:16:46 [INFO] [stderr] | [INFO] [stderr] 16 | let mut words = io::BufferedWriter::new(io::File::create(&Path::new("index/words"))); [INFO] [stderr] | ^^^^ could not find `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:16:60 [INFO] [stderr] | [INFO] [stderr] 16 | let mut words = io::BufferedWriter::new(io::File::create(&Path::new("index/words"))); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io` [INFO] [stderr] --> src/main.rs:17:26 [INFO] [stderr] | [INFO] [stderr] 17 | let mut positions = io::BufferedWriter::new(io::File::create(&Path::new("index/positions"))); [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stderr] --> src/main.rs:17:50 [INFO] [stderr] | [INFO] [stderr] 17 | let mut positions = io::BufferedWriter::new(io::File::create(&Path::new("index/positions"))); [INFO] [stderr] | ^^^^ could not find `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:17:64 [INFO] [stderr] | [INFO] [stderr] 17 | let mut positions = io::BufferedWriter::new(io::File::create(&Path::new("index/positions"))); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `BufferedReader` in `io` [INFO] [stderr] --> src/main.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | let mut indata = io::BufferedReader::new(io::File::open(&Path::new("sorted"))); [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stderr] --> src/main.rs:19:47 [INFO] [stderr] | [INFO] [stderr] 19 | let mut indata = io::BufferedReader::new(io::File::open(&Path::new("sorted"))); [INFO] [stderr] | ^^^^ could not find `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:19:59 [INFO] [stderr] | [INFO] [stderr] 19 | let mut indata = io::BufferedReader::new(io::File::open(&Path::new("sorted"))); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:29:18 [INFO] [stderr] | [INFO] [stderr] 29 | let pos: i64 = from_str(tokens.next().expect("No pointer")).expect("What is this?"); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | for i in range(0, key_distance(&key, &next_key)) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:59:46 [INFO] [stderr] | [INFO] [stderr] 59 | fn key_distance(k1: &String, k2: &String) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | fn chash(c: char) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:73:26 [INFO] [stderr] | [INFO] [stderr] 73 | fn hash(key: &String) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `Encoding` [INFO] [stderr] --> src/main.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use encoding::{Encoding, DecodeStrict}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `encoding::all::ISO_8859_1` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use encoding::all::ISO_8859_1; [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:44:25 [INFO] [stderr] | [INFO] [stderr] 44 | words.write_str(word.as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `+` cannot be applied to type `&std::string::String` [INFO] [stderr] --> src/main.rs:56:24 [INFO] [stderr] | [INFO] [stderr] 56 | format!("{:3.3}", key + " ") [INFO] [stderr] | --- ^ ----- &str [INFO] [stderr] | | | [INFO] [stderr] | | `+` cannot be used to concatenate two `&str` strings [INFO] [stderr] | &std::string::String [INFO] [stderr] help: `to_owned()` can be used to create an owned `String` from a string reference. String concatenation appends the string on the right to the string on the left and may require reallocation. This requires ownership of the string on the left [INFO] [stderr] | [INFO] [stderr] 56 | format!("{:3.3}", key.to_owned() + " ") [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `to_int` found for type `u32` in the current scope [INFO] [stderr] --> src/main.rs:70:4 [INFO] [stderr] | [INFO] [stderr] 70 | }.to_int().unwrap() [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:74:21 [INFO] [stderr] | [INFO] [stderr] 74 | let mut iter = key.as_slice().chars(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0369, E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0369`. [INFO] [stderr] error: Could not compile `konkordans`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b48f7c7d07aa64ff8f7b30e64f8228dc0105d28c788a08656496fc626e48277c"` [INFO] running `"docker" "rm" "-f" "b48f7c7d07aa64ff8f7b30e64f8228dc0105d28c788a08656496fc626e48277c"` [INFO] [stdout] b48f7c7d07aa64ff8f7b30e64f8228dc0105d28c788a08656496fc626e48277c