[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] testing MainShayne233/yrl against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMainShayne233%2Fyrl" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MainShayne233/yrl on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-3/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3ebb956b29f4a68c4033e1737764a1653fa363815193a2b10b361bcfd9c50218 [INFO] running `"docker" "start" "-a" "3ebb956b29f4a68c4033e1737764a1653fa363815193a2b10b361bcfd9c50218"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling ena v0.13.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling quote v1.0.2 [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 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] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:2897:5 [INFO] [stderr] | [INFO] [stderr] 2897 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3042:5 [INFO] [stderr] | [INFO] [stderr] 3042 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3053:5 [INFO] [stderr] | [INFO] [stderr] 3053 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3064:5 [INFO] [stderr] | [INFO] [stderr] 3064 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3075:5 [INFO] [stderr] | [INFO] [stderr] 3075 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3086:5 [INFO] [stderr] | [INFO] [stderr] 3086 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3097:5 [INFO] [stderr] | [INFO] [stderr] 3097 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3108:5 [INFO] [stderr] | [INFO] [stderr] 3108 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3119:5 [INFO] [stderr] | [INFO] [stderr] 3119 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3130:5 [INFO] [stderr] | [INFO] [stderr] 3130 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3141:5 [INFO] [stderr] | [INFO] [stderr] 3141 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3238:5 [INFO] [stderr] | [INFO] [stderr] 3238 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3249:5 [INFO] [stderr] | [INFO] [stderr] 3249 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3260:5 [INFO] [stderr] | [INFO] [stderr] 3260 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3271:5 [INFO] [stderr] | [INFO] [stderr] 3271 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/yrl-f09361a9e89d612d/out/grammar.rs:3591:5 [INFO] [stderr] | [INFO] [stderr] 3591 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [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; 19 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `yrl`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3ebb956b29f4a68c4033e1737764a1653fa363815193a2b10b361bcfd9c50218"` [INFO] running `"docker" "rm" "-f" "3ebb956b29f4a68c4033e1737764a1653fa363815193a2b10b361bcfd9c50218"` [INFO] [stdout] 3ebb956b29f4a68c4033e1737764a1653fa363815193a2b10b361bcfd9c50218