[INFO] cloning repository https://github.com/MainShayne233/yrl [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MainShayne233/yrl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMainShayne233%2Fyrl"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMainShayne233%2Fyrl'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2ccd49381c330cbc660c26597e7766ba3aa63423 [INFO] checking MainShayne233/yrl against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMainShayne233%2Fyrl" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MainShayne233/yrl on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/MainShayne233/yrl [INFO] finished tweaking git repo https://github.com/MainShayne233/yrl [INFO] tweaked toml for git repo https://github.com/MainShayne233/yrl written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/MainShayne233/yrl already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c33b25a2ce314327946bf7f074817294f7086a348422b354160aaf91f7ffb316 [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" "c33b25a2ce314327946bf7f074817294f7086a348422b354160aaf91f7ffb316"` [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling ena v0.13.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Compiling yrl v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `DeclarationType`, `Declaration`, `NodeExpression`, `Node` [INFO] [stderr] --> src/main.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::ast::{Declaration, DeclarationType, Grammar, Node, NodeExpression}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `pretty_assertions::assert_eq` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use pretty_assertions::assert_eq; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `yrl` [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #[macro_use] [INFO] [stderr] 2 | | extern crate lalrpop_util; [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | use crate::ast::{Declaration, DeclarationType, Grammar, Node, NodeExpression}; [INFO] [stderr] ... | [INFO] [stderr] 361 | | assert_eq!(true, true); [INFO] [stderr] 362 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/main.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 `yrl`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c33b25a2ce314327946bf7f074817294f7086a348422b354160aaf91f7ffb316"` [INFO] running `"docker" "rm" "-f" "c33b25a2ce314327946bf7f074817294f7086a348422b354160aaf91f7ffb316"` [INFO] [stdout] c33b25a2ce314327946bf7f074817294f7086a348422b354160aaf91f7ffb316