[INFO] updating cached repository vopi181/MCLexer [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/vopi181/MCLexer [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/vopi181/MCLexer" "work/ex/beta-1.38-1/sources/1.37.0/gh/vopi181/MCLexer"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/vopi181/MCLexer'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/vopi181/MCLexer" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vopi181/MCLexer"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vopi181/MCLexer'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2dcd37d78cbac7e27451df6739e1f3ab727911ec [INFO] sha for GitHub repo vopi181/MCLexer: 2dcd37d78cbac7e27451df6739e1f3ab727911ec [INFO] validating manifest of vopi181/MCLexer 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 vopi181/MCLexer 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 vopi181/MCLexer [INFO] finished frobbing vopi181/MCLexer [INFO] frobbed toml for vopi181/MCLexer written to work/ex/beta-1.38-1/sources/1.37.0/gh/vopi181/MCLexer/Cargo.toml [INFO] started frobbing vopi181/MCLexer [INFO] finished frobbing vopi181/MCLexer [INFO] frobbed toml for vopi181/MCLexer written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/vopi181/MCLexer/Cargo.toml [INFO] crate vopi181/MCLexer 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 vopi181/MCLexer 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-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/vopi181/MCLexer:/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] 38d1deda56b5042728d550c95c8b400584a096a9c14bc094c61b423f06928507 [INFO] running `"docker" "start" "-a" "38d1deda56b5042728d550c95c8b400584a096a9c14bc094c61b423f06928507"` [INFO] [stderr] Compiling MCLexer v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0412]: cannot find type `string` in this scope [INFO] [stderr] --> src/defines.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | data: string [INFO] [stderr] | ^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude::*` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::string` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::string; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `cells_defines` should have an upper camel case name [INFO] [stderr] --> src/defines.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum cells_defines { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CellsDefines` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_camel_case_types)] on by default [INFO] [stderr] [INFO] [stderr] warning: variant `variable` should have an upper camel case name [INFO] [stderr] --> src/defines.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | variable, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `Variable` [INFO] [stderr] [INFO] [stderr] warning: variant `function` should have an upper camel case name [INFO] [stderr] --> src/defines.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | function, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `Function` [INFO] [stderr] [INFO] [stderr] warning: type `cells_struct` should have an upper camel case name [INFO] [stderr] --> src/defines.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct cells_struct { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CellsStruct` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let mut input_file: Path; [INFO] [stderr] | ^^^^^^^^^^^^^^ borrow the `Path` instead [INFO] [stderr] | [INFO] [stderr] = help: within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `std::path::Path` [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:20:18 [INFO] [stderr] | [INFO] [stderr] 20 | input_file = Path::new(&args[1]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ expected struct `std::path::Path`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::path::Path` [INFO] [stderr] found type `&std::path::Path` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | input_file = Path::new(&args[1]); [INFO] [stderr] | ^^^^^^^^^^ borrow the `Path` instead [INFO] [stderr] | [INFO] [stderr] = help: within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `std::path::Path` [INFO] [stderr] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `to_str` on type `std::path::Path` [INFO] [stderr] --> src/main.rs:24:31 [INFO] [stderr] | [INFO] [stderr] 24 | println!("{}", input_file.to_str); [INFO] [stderr] | ^^^^^^ help: use parentheses to call the method: `to_str()` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | load_file(input_file); [INFO] [stderr] | ^^^^^^^^^ borrow the `Path` instead [INFO] [stderr] | [INFO] [stderr] = help: within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `std::path::Path` [INFO] [stderr] = note: all function arguments must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | fn load_file(mut filePath: Path) -> () { [INFO] [stderr] | ^^^^^^^^^^^^ borrow the `Path` instead [INFO] [stderr] | [INFO] [stderr] = help: within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `std::path::Path` [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:30:20 [INFO] [stderr] | [INFO] [stderr] 30 | let mut file = File::open(filePath); [INFO] [stderr] | ^^^^^^^^^^ borrow the `Path` instead [INFO] [stderr] | [INFO] [stderr] = help: within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `std::path::Path` [INFO] [stderr] = note: required by `std::fs::File::open` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0412, E0615. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `MCLexer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "38d1deda56b5042728d550c95c8b400584a096a9c14bc094c61b423f06928507"` [INFO] running `"docker" "rm" "-f" "38d1deda56b5042728d550c95c8b400584a096a9c14bc094c61b423f06928507"` [INFO] [stdout] 38d1deda56b5042728d550c95c8b400584a096a9c14bc094c61b423f06928507