[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#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Flemur" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tvallotton/lemur on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-2/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a07d103e7116d2609daac99d3cbec6b74a35a67d6a865ecc2aded763bda95d0d [INFO] running `Command { std: "docker" "start" "-a" "a07d103e7116d2609daac99d3cbec6b74a35a67d6a865ecc2aded763bda95d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a07d103e7116d2609daac99d3cbec6b74a35a67d6a865ecc2aded763bda95d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a07d103e7116d2609daac99d3cbec6b74a35a67d6a865ecc2aded763bda95d0d", kill_on_drop: false }` [INFO] [stdout] a07d103e7116d2609daac99d3cbec6b74a35a67d6a865ecc2aded763bda95d0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4447e000b85aacb2b99ca56d6144a2ad403e11cf05c03777c0970acd4609c94f [INFO] running `Command { std: "docker" "start" "-a" "4447e000b85aacb2b99ca56d6144a2ad403e11cf05c03777c0970acd4609c94f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.2 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rug v1.11.0 [INFO] [stderr] Compiling az v1.0.0 [INFO] [stderr] Compiling str-macro v0.1.4 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [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 inotify v0.7.1 [INFO] [stderr] Compiling textwrap v0.11.0 [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 notify v4.0.15 [INFO] [stderr] Compiling stderrlog v0.4.3 [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" "4447e000b85aacb2b99ca56d6144a2ad403e11cf05c03777c0970acd4609c94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4447e000b85aacb2b99ca56d6144a2ad403e11cf05c03777c0970acd4609c94f", kill_on_drop: false }` [INFO] [stdout] 4447e000b85aacb2b99ca56d6144a2ad403e11cf05c03777c0970acd4609c94f