[INFO] cloning repository https://github.com/Thadz/rust-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Thadz/rust-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThadz%2Frust-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThadz%2Frust-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c9660b781c62c72f57b1a5334ad3ae6304b6f17 [INFO] checking Thadz/rust-code against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThadz%2Frust-code" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Thadz/rust-code on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Thadz/rust-code [INFO] finished tweaking git repo https://github.com/Thadz/rust-code [INFO] tweaked toml for git repo https://github.com/Thadz/rust-code written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Thadz/rust-code 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edbb0989781ba17ef6c87dfbc458790a2e248da68d7e34cb8f2d62c9d598820a [INFO] running `Command { std: "docker" "start" "-a" "edbb0989781ba17ef6c87dfbc458790a2e248da68d7e34cb8f2d62c9d598820a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edbb0989781ba17ef6c87dfbc458790a2e248da68d7e34cb8f2d62c9d598820a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbb0989781ba17ef6c87dfbc458790a2e248da68d7e34cb8f2d62c9d598820a", kill_on_drop: false }` [INFO] [stdout] edbb0989781ba17ef6c87dfbc458790a2e248da68d7e34cb8f2d62c9d598820a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45d063d987631446510d8725e4efee5aef89c6c2a87f2a85c4ab4cb577ee1463 [INFO] running `Command { std: "docker" "start" "-a" "45d063d987631446510d8725e4efee5aef89c6c2a87f2a85c4ab4cb577ee1463", kill_on_drop: false }` [INFO] [stderr] Checking code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `02_add_two_numbers` [INFO] [stdout] --> src/bin/02-add-two-numbers.rs:66:2 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/02-add-two-numbers.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `04_median_of_two_sorted_arrays` [INFO] [stdout] --> src/bin/04-median-of-two-sorted-arrays.rs:81:2 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/04-median-of-two-sorted-arrays.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `01_two_sum` [INFO] [stdout] --> src/bin/01-two-sum.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/01-two-sum.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `03_longest_substring_without_repeating_characters` [INFO] [stdout] --> src/bin/03-longest-substring-without-repeating-characters.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/03-longest-substring-without-repeating-characters.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `code` (bin "02-add-two-numbers") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `code` (bin "01-two-sum") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `code` (bin "04-median-of-two-sorted-arrays") due to 2 previous errors [INFO] [stderr] error: could not compile `code` (bin "03-longest-substring-without-repeating-characters") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "45d063d987631446510d8725e4efee5aef89c6c2a87f2a85c4ab4cb577ee1463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45d063d987631446510d8725e4efee5aef89c6c2a87f2a85c4ab4cb577ee1463", kill_on_drop: false }` [INFO] [stdout] 45d063d987631446510d8725e4efee5aef89c6c2a87f2a85c4ab4cb577ee1463