[INFO] updating cached repository https://github.com/vopi181/MCLexer [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] 2dcd37d78cbac7e27451df6739e1f3ab727911ec [INFO] checking vopi181/MCLexer against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvopi181%2FMCLexer" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vopi181/MCLexer on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/vopi181/MCLexer [INFO] finished tweaking git repo https://github.com/vopi181/MCLexer [INFO] tweaked toml for git repo https://github.com/vopi181/MCLexer written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/vopi181/MCLexer already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 85c32e393a7fc36986fbf985ac633738e245c4c4d170217ceb4bfc4457c4b44e [INFO] running `"docker" "start" "-a" "85c32e393a7fc36986fbf985ac633738e245c4c4d170217ceb4bfc4457c4b44e"` [INFO] [stderr] Checking MCLexer v0.1.0 (/opt/rustwide/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 (notice the capitalization): `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 (notice the capitalization): `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 (notice the capitalization): `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 `&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] | ^^^^^^ method, not a field [INFO] [stderr] | [INFO] [stderr] help: use parentheses to call the method [INFO] [stderr] | [INFO] [stderr] 24 | println!("{}", input_file.to_str()); [INFO] [stderr] | ^^ [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] [INFO] [stderr] error: aborting due to 8 previous errors; 6 warnings emitted [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[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 (notice the capitalization): `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 (notice the capitalization): `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 (notice the capitalization): `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: could not compile `MCLexer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `&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] | ^^^^^^ method, not a field [INFO] [stderr] | [INFO] [stderr] help: use parentheses to call the method [INFO] [stderr] | [INFO] [stderr] 24 | println!("{}", input_file.to_str()); [INFO] [stderr] | ^^ [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] [INFO] [stderr] error: aborting due to 8 previous errors; 6 warnings emitted [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" "85c32e393a7fc36986fbf985ac633738e245c4c4d170217ceb4bfc4457c4b44e"` [INFO] running `"docker" "rm" "-f" "85c32e393a7fc36986fbf985ac633738e245c4c4d170217ceb4bfc4457c4b44e"` [INFO] [stdout] 85c32e393a7fc36986fbf985ac633738e245c4c4d170217ceb4bfc4457c4b44e