[INFO] cloning repository https://github.com/astrojosh/Diagrammatic-Monte-Carlo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/astrojosh/Diagrammatic-Monte-Carlo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastrojosh%2FDiagrammatic-Monte-Carlo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastrojosh%2FDiagrammatic-Monte-Carlo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a7f90d491addca2eee15ab6e6e3f66bbe8eb8f1 [INFO] testing astrojosh/Diagrammatic-Monte-Carlo against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastrojosh%2FDiagrammatic-Monte-Carlo" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/astrojosh/Diagrammatic-Monte-Carlo on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/astrojosh/Diagrammatic-Monte-Carlo [INFO] finished tweaking git repo https://github.com/astrojosh/Diagrammatic-Monte-Carlo [INFO] tweaked toml for git repo https://github.com/astrojosh/Diagrammatic-Monte-Carlo written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/astrojosh/Diagrammatic-Monte-Carlo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fd1189144895a25aa375f3c5906332a33ccc01ee9d6bd798c39bee14e8a38d3c [INFO] running `Command { std: "docker" "start" "-a" "fd1189144895a25aa375f3c5906332a33ccc01ee9d6bd798c39bee14e8a38d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd1189144895a25aa375f3c5906332a33ccc01ee9d6bd798c39bee14e8a38d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd1189144895a25aa375f3c5906332a33ccc01ee9d6bd798c39bee14e8a38d3c", kill_on_drop: false }` [INFO] [stdout] fd1189144895a25aa375f3c5906332a33ccc01ee9d6bd798c39bee14e8a38d3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1913c838447e9bf730bd86877ceafe98ed3beaffe3e65d74f6898d465d75cabc [INFO] running `Command { std: "docker" "start" "-a" "1913c838447e9bf730bd86877ceafe98ed3beaffe3e65d74f6898d465d75cabc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling diagrammatic_monte_carlo v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `{`, found keyword `in` [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | while _ in 0..N { [INFO] [stdout] | ^^ expected `{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> src/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::{Distribution, Uniform}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `Uniform<{float}>` [INFO] [stdout] --> src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let uniform_range = Uniform::from(0.0..1.0); [INFO] [stdout] | ------------- ^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `uniform_range` the explicit type `Uniform<{float}>`, where the type parameter `{float}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: SampleUniform` found in the `rand` crate: [INFO] [stdout] - impl SampleUniform for f32; [INFO] [stdout] - impl SampleUniform for f64; [INFO] [stdout] note: required by a bound in `Uniform` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/distributions/uniform.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Uniform(X::Sampler); [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Uniform` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 35 | let uniform_range = Uniform::::from(0.0..1.0); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `Uniform<{float}>` [INFO] [stdout] --> src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let uniform_range = Uniform::from(0.0..1.0); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `uniform_range` the explicit type `Uniform<{float}>`, where the type parameter `{float}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: SampleUniform` found in the `rand` crate: [INFO] [stdout] - impl SampleUniform for f32; [INFO] [stdout] - impl SampleUniform for f64; [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `Uniform<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diagrammatic_monte_carlo` due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1913c838447e9bf730bd86877ceafe98ed3beaffe3e65d74f6898d465d75cabc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1913c838447e9bf730bd86877ceafe98ed3beaffe3e65d74f6898d465d75cabc", kill_on_drop: false }` [INFO] [stdout] 1913c838447e9bf730bd86877ceafe98ed3beaffe3e65d74f6898d465d75cabc