[INFO] cloning repository https://github.com/tvallotton/lemur [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tvallotton/lemur" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Flemur", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Flemur'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d39d5c6a6f01c26dd1495ea1fc4069384feec1fc [INFO] testing tvallotton/lemur against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Flemur" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tvallotton/lemur on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tvallotton/lemur [INFO] finished tweaking git repo https://github.com/tvallotton/lemur [INFO] tweaked toml for git repo https://github.com/tvallotton/lemur written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/tvallotton/lemur already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45a5528abf32ccda6de0ca1a2fad21c36b80323dc3ee6efcf6d5cbf59543de37 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "45a5528abf32ccda6de0ca1a2fad21c36b80323dc3ee6efcf6d5cbf59543de37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45a5528abf32ccda6de0ca1a2fad21c36b80323dc3ee6efcf6d5cbf59543de37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a5528abf32ccda6de0ca1a2fad21c36b80323dc3ee6efcf6d5cbf59543de37", kill_on_drop: false }` [INFO] [stdout] 45a5528abf32ccda6de0ca1a2fad21c36b80323dc3ee6efcf6d5cbf59543de37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0de179d94e4fbe5761b113bb9370378b4b6d9d81e2960613a56930397643e9e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b0de179d94e4fbe5761b113bb9370378b4b6d9d81e2960613a56930397643e9e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.2 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling rug v1.11.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling az v1.0.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling str-macro v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling inotify-sys v0.1.4 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling filetime v0.2.13 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling stderrlog v0.4.3 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling watchexec v1.14.0 [INFO] [stderr] Compiling cargo-watch v7.5.0 [INFO] [stderr] Compiling lemur v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `lemur` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(dead_code)] [INFO] [stdout] 2 | | #![allow(unused_imports)] [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 7 | | mod parser; [INFO] [stdout] 8 | | mod settings; [INFO] [stdout] | |_____________^ the main function must be defined at the crate level (in `src/main.rs`) [INFO] [stdout] | [INFO] [stdout] note: here is a function named `main` [INFO] [stdout] --> src/settings.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / fn main() { [INFO] [stdout] 6 | | let a: i32 = 2; [INFO] [stdout] 7 | | println!("{}", a.pow(3)); [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: you have one or more functions named `main` not defined at the crate level [INFO] [stdout] = help: consider moving the `main` function definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lemur` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b0de179d94e4fbe5761b113bb9370378b4b6d9d81e2960613a56930397643e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0de179d94e4fbe5761b113bb9370378b4b6d9d81e2960613a56930397643e9e", kill_on_drop: false }` [INFO] [stdout] b0de179d94e4fbe5761b113bb9370378b4b6d9d81e2960613a56930397643e9e