[INFO] updating cached repository https://github.com/modulitos/CtCI-rust [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] 8bbaa49c3eca43a77cf1a2cea1b6f98071ad2c78 [INFO] checking modulitos/CtCI-rust against try#5e633973aa9255a88b65a39484627bb54e6044b3 for pr-66063 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/modulitos/CtCI-rust on toolchain 5e633973aa9255a88b65a39484627bb54e6044b3 [INFO] running `"/workspace/cargo-home/bin/cargo" "+5e633973aa9255a88b65a39484627bb54e6044b3" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/modulitos/CtCI-rust [INFO] finished tweaking git repo https://github.com/modulitos/CtCI-rust [INFO] tweaked toml for git repo https://github.com/modulitos/CtCI-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/modulitos/CtCI-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+5e633973aa9255a88b65a39484627bb54e6044b3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=allow" "-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" "+5e633973aa9255a88b65a39484627bb54e6044b3" "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] 7d870a373aba2a7f798a5ee67ec0340146a34bb1c14ec063fd3f299c69a08562 [INFO] running `"docker" "start" "-a" "7d870a373aba2a7f798a5ee67ec0340146a34bb1c14ec063fd3f299c69a08562"` [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking rust-solutions v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `ch4_p8_first_common_ancestor` [INFO] [stderr] --> src/bin/ch4-p8_first-common-ancestor.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / use cracking::{RCBTree as Tree, RCBTreeNode as Node, RCBinaryTree as BinaryTree}; [INFO] [stderr] 7 | | use std::rc::Rc; [INFO] [stderr] 8 | | [INFO] [stderr] 9 | | trait FirstCommonAncestor { [INFO] [stderr] ... | [INFO] [stderr] 242 | | } [INFO] [stderr] 243 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/bin/ch4-p8_first-common-ancestor.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 `rust-solutions`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0601]: `main` function not found in crate `ch5_p7_pairwise_swap` [INFO] [stderr] --> src/bin/ch5-p7_pairwise-swap.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / fn pairwise_swap(n: u8) -> u8 { [INFO] [stderr] 6 | | let even_mask = 0b10101010_u8; [INFO] [stderr] 7 | | let odd_mask = even_mask >> 1; [INFO] [stderr] 8 | | [INFO] [stderr] ... | [INFO] [stderr] 16 | | assert_eq!(pairwise_swap(0b01010111_u8), 0b10101011_u8); [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/bin/ch5-p7_pairwise-swap.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[E0601]: `main` function not found in crate `ch3_p4_queue_via_stacks` [INFO] [stderr] --> src/bin/ch3-p4_queue-via-stacks.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / use cracking::Stack; [INFO] [stderr] 5 | | [INFO] [stderr] 6 | | struct MyQueue { [INFO] [stderr] 7 | | incoming: Stack, [INFO] [stderr] ... | [INFO] [stderr] 96 | | } [INFO] [stderr] 97 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/bin/ch3-p4_queue-via-stacks.rs` [INFO] [stderr] [INFO] [stderr] error: could not compile `rust-solutions`. [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 `rust-solutions`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "7d870a373aba2a7f798a5ee67ec0340146a34bb1c14ec063fd3f299c69a08562"` [INFO] running `"docker" "rm" "-f" "7d870a373aba2a7f798a5ee67ec0340146a34bb1c14ec063fd3f299c69a08562"` [INFO] [stdout] 7d870a373aba2a7f798a5ee67ec0340146a34bb1c14ec063fd3f299c69a08562