[INFO] cloning repository https://github.com/lightmanBro/Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lightmanBro/Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlightmanBro%2FRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlightmanBro%2FRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84e1b8149613c38a145e516121a6d5c27c51a590 [INFO] testing lightmanBro/Rust against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlightmanBro%2FRust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lightmanBro/Rust [INFO] finished tweaking git repo https://github.com/lightmanBro/Rust [INFO] tweaked toml for git repo https://github.com/lightmanBro/Rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lightmanBro/Rust on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lightmanBro/Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f682a77b828cfda11c7489664521c1e743c11af9b1e135eb10fe5f149976024 [INFO] running `Command { std: "docker" "start" "-a" "0f682a77b828cfda11c7489664521c1e743c11af9b1e135eb10fe5f149976024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f682a77b828cfda11c7489664521c1e743c11af9b1e135eb10fe5f149976024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f682a77b828cfda11c7489664521c1e743c11af9b1e135eb10fe5f149976024", kill_on_drop: false }` [INFO] [stdout] 0f682a77b828cfda11c7489664521c1e743c11af9b1e135eb10fe5f149976024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 971b4f63f720d0cbed92fb1031cd86e192a70d803406cec72966397023b1dc51 [INFO] running `Command { std: "docker" "start" "-a" "971b4f63f720d0cbed92fb1031cd86e192a70d803406cec72966397023b1dc51", kill_on_drop: false }` [INFO] [stderr] Compiling helloProject v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `=` [INFO] [stdout] --> src/main.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let fruits: = [&str;3] = ["Apple","Banana","Orange"]; [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for `fruits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `str` [INFO] [stdout] --> src/main.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let fruits: = [&str;3] = ["Apple","Banana","Orange"]; [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fruit` in this scope [INFO] [stdout] --> src/main.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | println!("First fruit element: {}",fruit[0]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 43 | println!("First fruit element: {}",fruits[0]); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fruit` in this scope [INFO] [stdout] --> src/main.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | println!("Second fruit element: {}",fruit[1]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 | println!("Second fruit element: {}",fruits[1]); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `string` in this scope [INFO] [stdout] --> src/main.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let human: (string,i32,bool) = ("Alice".to_string(),30,true); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/string.rs:353:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: a struct with a similar name exists (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 47 - let human: (string,i32,bool) = ("Alice".to_string(),30,true); [INFO] [stdout] 47 + let human: (String,i32,bool) = ("Alice".to_string(),30,true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> src/main.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | let fruits: = [&str;3] = ["Apple","Banana","Orange"]; [INFO] [stdout] | -------- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0070, E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0070`. [INFO] [stdout] [INFO] [stderr] error: could not compile `helloProject` (bin "helloProject") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "971b4f63f720d0cbed92fb1031cd86e192a70d803406cec72966397023b1dc51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "971b4f63f720d0cbed92fb1031cd86e192a70d803406cec72966397023b1dc51", kill_on_drop: false }` [INFO] [stdout] 971b4f63f720d0cbed92fb1031cd86e192a70d803406cec72966397023b1dc51