[INFO] cloning repository https://github.com/vopi181/MCLexer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vopi181/MCLexer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvopi181%2FMCLexer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvopi181%2FMCLexer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dcd37d78cbac7e27451df6739e1f3ab727911ec [INFO] testing vopi181/MCLexer against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvopi181%2FMCLexer" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vopi181/MCLexer on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-34/source/Cargo.toml [INFO] crate git repo https://github.com/vopi181/MCLexer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fe0fa148151006e61571a95e0553644a29f2a020a3fa5534a14c523a5f1b314 [INFO] running `Command { std: "docker" "start" "-a" "9fe0fa148151006e61571a95e0553644a29f2a020a3fa5534a14c523a5f1b314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fe0fa148151006e61571a95e0553644a29f2a020a3fa5534a14c523a5f1b314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fe0fa148151006e61571a95e0553644a29f2a020a3fa5534a14c523a5f1b314", kill_on_drop: false }` [INFO] [stdout] 9fe0fa148151006e61571a95e0553644a29f2a020a3fa5534a14c523a5f1b314 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dd0ee8013cb7d456465411a409a550eba69af906d9aef0a496b610524e53400 [INFO] running `Command { std: "docker" "start" "-a" "7dd0ee8013cb7d456465411a409a550eba69af906d9aef0a496b610524e53400", kill_on_drop: false }` [INFO] [stderr] Compiling MCLexer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `string` in this scope [INFO] [stdout] --> src/defines.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | data: string [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists (notice the capitalization): `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cells_defines` should have an upper camel case name [INFO] [stdout] --> src/defines.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum cells_defines { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CellsDefines` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `variable` should have an upper camel case name [INFO] [stdout] --> src/defines.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | variable, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `function` should have an upper camel case name [INFO] [stdout] --> src/defines.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | function, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cells_struct` should have an upper camel case name [INFO] [stdout] --> src/defines.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct cells_struct { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CellsStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut input_file: Path; [INFO] [stdout] | ^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `Path` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 19 | let mut input_file: Path; [INFO] [stdout] | ---- expected due to this type [INFO] [stdout] 20 | input_file = Path::new(&args[1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `Path`, found `&Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | input_file = Path::new(&args[1]); [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `Path` [INFO] [stdout] = note: the left-hand-side of an assignment must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `to_str` on type `Path` [INFO] [stdout] --> src/main.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | println!("{}", input_file.to_str); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 24 | println!("{}", input_file.to_str()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | load_file(input_file); [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `Path` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | fn load_file(mut filePath: Path) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `Path` [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 29 | fn load_file(mut filePath: &Path) -> () { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | let mut file = File::open(filePath); [INFO] [stdout] | ---------- ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `Path` [INFO] [stdout] note: required by a bound in `File::open` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `MCLexer` due to 9 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7dd0ee8013cb7d456465411a409a550eba69af906d9aef0a496b610524e53400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dd0ee8013cb7d456465411a409a550eba69af906d9aef0a496b610524e53400", kill_on_drop: false }` [INFO] [stdout] 7dd0ee8013cb7d456465411a409a550eba69af906d9aef0a496b610524e53400