[INFO] updating cached repository https://github.com/EdenCao/rust_learning [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] 3b85aa524f292dd7b9939ed7d5de8b6456618f9f [INFO] checking EdenCao/rust_learning against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdenCao%2Frust_learning" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EdenCao/rust_learning on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/EdenCao/rust_learning [INFO] finished tweaking git repo https://github.com/EdenCao/rust_learning [INFO] tweaked toml for git repo https://github.com/EdenCao/rust_learning written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/EdenCao/rust_learning already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2019-10-27" "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] 2c7727c70878864078e1c874dcd1011e89a4a1be826d1854d56799eb153a3cfd [INFO] running `"docker" "start" "-a" "2c7727c70878864078e1c874dcd1011e89a4a1be826d1854d56799eb153a3cfd"` [INFO] [stderr] Checking rust_learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `refcall` [INFO] [stderr] --> src/refcall.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub trait Messenger { [INFO] [stderr] 2 | | fn send(&self, msg: &str); [INFO] [stderr] 3 | | } [INFO] [stderr] 4 | | [INFO] [stderr] ... | [INFO] [stderr] 65 | | [INFO] [stderr] 66 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/refcall.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_learning`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "2c7727c70878864078e1c874dcd1011e89a4a1be826d1854d56799eb153a3cfd"` [INFO] running `"docker" "rm" "-f" "2c7727c70878864078e1c874dcd1011e89a4a1be826d1854d56799eb153a3cfd"` [INFO] [stdout] 2c7727c70878864078e1c874dcd1011e89a4a1be826d1854d56799eb153a3cfd