[INFO] updating cached repository https://github.com/huangqian/rust-in-action [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] f0233f0ce6a5479c8760f7df5e88f818c19d400f [INFO] checking huangqian/rust-in-action against try#5e633973aa9255a88b65a39484627bb54e6044b3 for pr-66063 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuangqian%2Frust-in-action" "/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/huangqian/rust-in-action 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/huangqian/rust-in-action [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/huangqian/rust-in-action [INFO] tweaked toml for git repo https://github.com/huangqian/rust-in-action written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/huangqian/rust-in-action already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+5e633973aa9255a88b65a39484627bb54e6044b3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+5e633973aa9255a88b65a39484627bb54e6044b3" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] dcfa52137fa3e36b1f80eef1aaf2a034147ba955a830abc67bc0dff152bae174 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "dcfa52137fa3e36b1f80eef1aaf2a034147ba955a830abc67bc0dff152bae174"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Checking uuid v0.7.2 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking memchr v2.1.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking nix v0.12.0 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking miniz-sys v0.1.11 [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking flate2 v1.0.4 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking combine v3.5.2 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking regex v1.0.6 [INFO] [stderr] Checking parking_lot_core v0.3.1 [INFO] [stderr] Checking twox-hash v1.1.1 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking mysql_common v0.15.0 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking mysql v15.1.0 [INFO] [stderr] Checking rust-in-action v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `box` [INFO] [stderr] --> examples/box.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #[cfg(test)] [INFO] [stderr] 2 | | mod box_test { [INFO] [stderr] 3 | | use box_test::List::{Cons, Nil}; [INFO] [stderr] 4 | | use MyBox; [INFO] [stderr] ... | [INFO] [stderr] 60 | | } [INFO] [stderr] 61 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `examples/box.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-in-action`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0601]: `main` function not found in crate `borrow` [INFO] [stderr] --> examples/borrow.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / #[cfg(test)] [INFO] [stderr] 16 | | mod borrow_reference_pointer_test { [INFO] [stderr] 17 | | [INFO] [stderr] 18 | | [INFO] [stderr] ... | [INFO] [stderr] 41 | | [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `examples/borrow.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-in-action`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> examples/redis.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(proc_macro_hygiene, decl_macro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `redis` [INFO] [stderr] --> examples/redis.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #![feature(proc_macro_hygiene, decl_macro)] [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | #[macro_use] [INFO] [stderr] 4 | | extern crate redis; [INFO] [stderr] ... | [INFO] [stderr] 23 | | [INFO] [stderr] 24 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `examples/redis.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0554, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0554`. [INFO] [stderr] error: could not compile `rust-in-action`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0601]: `main` function not found in crate `mysql` [INFO] [stderr] --> examples/mysql.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / extern crate core; [INFO] [stderr] 2 | | #[macro_use] [INFO] [stderr] 3 | | extern crate mysql; [INFO] [stderr] 4 | | [INFO] [stderr] ... | [INFO] [stderr] 87 | | } [INFO] [stderr] 88 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `examples/mysql.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-in-action`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "dcfa52137fa3e36b1f80eef1aaf2a034147ba955a830abc67bc0dff152bae174"` [INFO] running `"docker" "rm" "-f" "dcfa52137fa3e36b1f80eef1aaf2a034147ba955a830abc67bc0dff152bae174"` [INFO] [stdout] dcfa52137fa3e36b1f80eef1aaf2a034147ba955a830abc67bc0dff152bae174