[INFO] cloning repository https://github.com/eghosaclinton/learning_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eghosaclinton/learning_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feghosaclinton%2Flearning_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feghosaclinton%2Flearning_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ca475028eb00d7c8b5bacc2eb375cc3ef11d405 [INFO] testing eghosaclinton/learning_rust against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feghosaclinton%2Flearning_rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eghosaclinton/learning_rust on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eghosaclinton/learning_rust [INFO] finished tweaking git repo https://github.com/eghosaclinton/learning_rust [INFO] tweaked toml for git repo https://github.com/eghosaclinton/learning_rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eghosaclinton/learning_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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d071150cc659e2caafecbd4f6236be5f43ad4571cbd8d94c18d3fdfb39172d4 [INFO] running `Command { std: "docker" "start" "-a" "1d071150cc659e2caafecbd4f6236be5f43ad4571cbd8d94c18d3fdfb39172d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d071150cc659e2caafecbd4f6236be5f43ad4571cbd8d94c18d3fdfb39172d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d071150cc659e2caafecbd4f6236be5f43ad4571cbd8d94c18d3fdfb39172d4", kill_on_drop: false }` [INFO] [stdout] 1d071150cc659e2caafecbd4f6236be5f43ad4571cbd8d94c18d3fdfb39172d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f19ae8ef7ad8b046aca42d95c3e7561324a9e9133af5a481d990e78ca1cc433 [INFO] running `Command { std: "docker" "start" "-a" "9f19ae8ef7ad8b046aca42d95c3e7561324a9e9133af5a481d990e78ca1cc433", kill_on_drop: false }` [INFO] [stderr] Compiling learning_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | let arr = [1, 2, 3, 4] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 27 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rand` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let num: i32 = 1_00; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let num: u32 = 1_00; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let num: u8 = 255; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let num: usize = 100; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_float` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let my_float = 3.5; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_reading` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let is_reading = true; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_reading` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `letter` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let letter: char = 'a'; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_letter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/main.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let (x, y, z) = tup; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let arr = [1, 2, 3, 4] [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learning_rust` (bin "learning_rust") due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9f19ae8ef7ad8b046aca42d95c3e7561324a9e9133af5a481d990e78ca1cc433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f19ae8ef7ad8b046aca42d95c3e7561324a9e9133af5a481d990e78ca1cc433", kill_on_drop: false }` [INFO] [stdout] 9f19ae8ef7ad8b046aca42d95c3e7561324a9e9133af5a481d990e78ca1cc433