[INFO] updating cached repository https://github.com/Thadz/rust-code
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 3c9660b781c62c72f57b1a5334ad3ae6304b6f17
[INFO] checking Thadz/rust-code against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThadz%2Frust-code" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Thadz/rust-code on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-5/source/Cargo.toml
[INFO] crate git repo https://github.com/Thadz/rust-code already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7e9810a520377b225d903dd39fe0584f6d635acd94ac6d1e619ea2d703a71287
[INFO] running `"docker" "start" "-a" "7e9810a520377b225d903dd39fe0584f6d635acd94ac6d1e619ea2d703a71287"`
[INFO] [stderr]     Checking code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0601]: `main` function not found in crate `02_add_two_numbers`
[INFO] [stderr]   --> src/bin/02-add-two-numbers.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr] 1  | / #[test]
[INFO] [stderr] 2  | | fn it_works() {
[INFO] [stderr] 3  | |     let lv: u64 = 123;
[INFO] [stderr] 4  | |     let rv: u64 = 789;
[INFO] [stderr] ...  |
[INFO] [stderr] 65 | |     }
[INFO] [stderr] 66 | | }
[INFO] [stderr]    | |_^ consider adding a `main` function to `src/bin/02-add-two-numbers.rs`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0601`.
[INFO] [stderr] error: could not compile `code`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0601]: `main` function not found in crate `03_longest_substring_without_repeating_characters`
[INFO] [stderr]   --> src/bin/03-longest-substring-without-repeating-characters.rs:1:2
[INFO] [stderr]    |
[INFO] [stderr] 1  | /  #[test]
[INFO] [stderr] 2  | |  fn it_works() {
[INFO] [stderr] 3  | |      assert_eq!(length_of_longest_substring("abcabcbb"), 3);
[INFO] [stderr] 4  | |      assert_eq!(length_of_longest_substring("bbbbb"), 1);
[INFO] [stderr] ...  |
[INFO] [stderr] 32 | |      max_length
[INFO] [stderr] 33 | |  }
[INFO] [stderr]    | |__^ consider adding a `main` function to `src/bin/03-longest-substring-without-repeating-characters.rs`
[INFO] [stderr] 
[INFO] [stderr] error[E0601]: `main` function not found in crate `04_median_of_two_sorted_arrays`
[INFO] [stderr]   --> src/bin/04-median-of-two-sorted-arrays.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr] 1  | / #[test]
[INFO] [stderr] 2  | | fn it_works() {
[INFO] [stderr] 3  | |     let delta = 1e-10;
[INFO] [stderr] 4  | |     let merge_and_sort = |l: &Vec<i64>, r: &Vec<i64>| {
[INFO] [stderr] ...  |
[INFO] [stderr] 80 | |     panic!("invalid state, l: {:?}, r: {:?}, k: {}", l, r, k);
[INFO] [stderr] 81 | | }
[INFO] [stderr]    | |_^ consider adding a `main` function to `src/bin/04-median-of-two-sorted-arrays.rs`
[INFO] [stderr] 
[INFO] [stderr] error[E0601]: `main` function not found in crate `01_two_sum`
[INFO] [stderr]   --> src/bin/01-two-sum.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr] 1  | / #[test]
[INFO] [stderr] 2  | | fn it_works() {
[INFO] [stderr] 3  | |     assert_eq!(two_sum(&[0, 1, 2], 3), (1, 2));
[INFO] [stderr] 4  | |     assert_eq!(two_sum(&[2, 7, 11, 15], 9), (0, 1));
[INFO] [stderr] ...  |
[INFO] [stderr] 26 | |     return result;
[INFO] [stderr] 27 | | }
[INFO] [stderr]    | |_^ consider adding a `main` function to `src/bin/01-two-sum.rs`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0601`.
[INFO] [stderr] error: could not compile `code`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0601`.
[INFO] [stderr] error: could not compile `code`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0601`.
[INFO] [stderr] error: could not compile `code`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "7e9810a520377b225d903dd39fe0584f6d635acd94ac6d1e619ea2d703a71287"`
[INFO] running `"docker" "rm" "-f" "7e9810a520377b225d903dd39fe0584f6d635acd94ac6d1e619ea2d703a71287"`
[INFO] [stdout] 7e9810a520377b225d903dd39fe0584f6d635acd94ac6d1e619ea2d703a71287
