[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/3c9660b781c62c72f57b1a5334ad3ae6304b6f17 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [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 f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41928716da363177c03fd657aa7073c800d41ce15d26e8806260c7104f203bf3 [INFO] running `Command { std: "docker" "start" "-a" "41928716da363177c03fd657aa7073c800d41ce15d26e8806260c7104f203bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41928716da363177c03fd657aa7073c800d41ce15d26e8806260c7104f203bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41928716da363177c03fd657aa7073c800d41ce15d26e8806260c7104f203bf3", kill_on_drop: false }` [INFO] [stdout] 41928716da363177c03fd657aa7073c800d41ce15d26e8806260c7104f203bf3 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af7c0061d6ee5bfd87bf3468f01b2850491293b936fea8f91b13539ce479a5b6 [INFO] running `Command { std: "docker" "start" "-a" "af7c0061d6ee5bfd87bf3468f01b2850491293b936fea8f91b13539ce479a5b6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking code v0.1.0 (/opt/rustwide/workdir) [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 "01-two-sum") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `code` (bin "04-median-of-two-sorted-arrays") 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] [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 "03-longest-substring-without-repeating-characters") due to 2 previous errors [INFO] [stderr] error: could not compile `code` (bin "02-add-two-numbers") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "af7c0061d6ee5bfd87bf3468f01b2850491293b936fea8f91b13539ce479a5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7c0061d6ee5bfd87bf3468f01b2850491293b936fea8f91b13539ce479a5b6", kill_on_drop: false }` [INFO] [stdout] af7c0061d6ee5bfd87bf3468f01b2850491293b936fea8f91b13539ce479a5b6