[INFO] cloning repository https://github.com/Lokathor/manganese [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lokathor/manganese" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLokathor%2Fmanganese", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLokathor%2Fmanganese'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cd17bdd8931f78e010ea5c62bf0afcf4b19b34b [INFO] testing Lokathor/manganese against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLokathor%2Fmanganese" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lokathor/manganese on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lokathor/manganese [INFO] finished tweaking git repo https://github.com/Lokathor/manganese [INFO] tweaked toml for git repo https://github.com/Lokathor/manganese written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Lokathor/manganese already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa8187ccb9de0ffc6ae0bb8eff0875ff0424ddb0c8f6c4402415a048c29a24ae [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" "aa8187ccb9de0ffc6ae0bb8eff0875ff0424ddb0c8f6c4402415a048c29a24ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa8187ccb9de0ffc6ae0bb8eff0875ff0424ddb0c8f6c4402415a048c29a24ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa8187ccb9de0ffc6ae0bb8eff0875ff0424ddb0c8f6c4402415a048c29a24ae", kill_on_drop: false }` [INFO] [stdout] aa8187ccb9de0ffc6ae0bb8eff0875ff0424ddb0c8f6c4402415a048c29a24ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dfc099bb5fc08882a32df17a5a4cca1241884802fa9a7864ea644342636e8b2 [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" "6dfc099bb5fc08882a32df17a5a4cca1241884802fa9a7864ea644342636e8b2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling fermium v200.12.2 [INFO] [stderr] Compiling chlorine v1.0.5 [INFO] [stderr] Compiling bytemuck v1.3.0 [INFO] [stderr] Compiling gl33 v0.0.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling manganese v0.0.1-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: `if` is not allowed in a `const` [INFO] [stdout] --> src/bin/02_hello_triangle.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | const VERTICES: &[[f32; 3]] = if DRAW_ARRAYS { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 10 | | &[ [INFO] [stdout] 11 | | // one [INFO] [stdout] 12 | | [0.5, 0.5, 0.0], [INFO] [stdout] ... | [INFO] [stdout] 21 | | &[[0.5, 0.5, 0.0], [0.5, -0.5, 0.0], [-0.5, -0.5, 0.0], [-0.5, 0.5, 0.0]] [INFO] [stdout] 22 | | }; [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [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 E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `manganese`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6dfc099bb5fc08882a32df17a5a4cca1241884802fa9a7864ea644342636e8b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dfc099bb5fc08882a32df17a5a4cca1241884802fa9a7864ea644342636e8b2", kill_on_drop: false }` [INFO] [stdout] 6dfc099bb5fc08882a32df17a5a4cca1241884802fa9a7864ea644342636e8b2