[INFO] cloning repository https://github.com/aadroher/synod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aadroher/synod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faadroher%2Fsynod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faadroher%2Fsynod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03cb0349957c57572d271fe73b3dc10b433c8c11 [INFO] testing aadroher/synod against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faadroher%2Fsynod" "/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/aadroher/synod on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aadroher/synod [INFO] finished tweaking git repo https://github.com/aadroher/synod [INFO] tweaked toml for git repo https://github.com/aadroher/synod written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/aadroher/synod already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slow_primes v0.1.14 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c91530bec654cf0d3cd0217a106b93c6992dded9c00c0f4613994975fdd120f3 [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" "c91530bec654cf0d3cd0217a106b93c6992dded9c00c0f4613994975fdd120f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c91530bec654cf0d3cd0217a106b93c6992dded9c00c0f4613994975fdd120f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91530bec654cf0d3cd0217a106b93c6992dded9c00c0f4613994975fdd120f3", kill_on_drop: false }` [INFO] [stdout] c91530bec654cf0d3cd0217a106b93c6992dded9c00c0f4613994975fdd120f3 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ecc1cb1a382502cdfe88a348691e9a7ad53eb1d3f736fe6b6820d74f075ff1b [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" "0ecc1cb1a382502cdfe88a348691e9a7ad53eb1d3f736fe6b6820d74f075ff1b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling slow_primes v0.1.14 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling synod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | (1 / l(l_x, n)) % n [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 37 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `l_x` in this scope [INFO] [stdout] --> src/main.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | (1 / l(l_x, n)) % n [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `_` [INFO] [stdout] --> src/main.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let l_x = match maybe_let_x { [INFO] [stdout] | _______________^ [INFO] [stdout] | |_______________| [INFO] [stdout] | || [INFO] [stdout] 32 | || Some(x) => x, [INFO] [stdout] 33 | || _ => unreachable!() [INFO] [stdout] 34 | || } [INFO] [stdout] | ||_____^ [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | (1 / l(l_x, n)) % n [INFO] [stdout] | |____________________- call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_mu(g: usize, lambda: usize, n: usize) -> usize { [INFO] [stdout] | ------ ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `synod` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "0ecc1cb1a382502cdfe88a348691e9a7ad53eb1d3f736fe6b6820d74f075ff1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ecc1cb1a382502cdfe88a348691e9a7ad53eb1d3f736fe6b6820d74f075ff1b", kill_on_drop: false }` [INFO] [stdout] 0ecc1cb1a382502cdfe88a348691e9a7ad53eb1d3f736fe6b6820d74f075ff1b