[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 master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastrojosh%2FDiagrammatic-Monte-Carlo" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/astrojosh/Diagrammatic-Monte-Carlo on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-10/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" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 999d6f5b0b0a14b01c3e2d45602dfc09823730a57ec430a279cb26a100cf9207 [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" "999d6f5b0b0a14b01c3e2d45602dfc09823730a57ec430a279cb26a100cf9207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "999d6f5b0b0a14b01c3e2d45602dfc09823730a57ec430a279cb26a100cf9207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "999d6f5b0b0a14b01c3e2d45602dfc09823730a57ec430a279cb26a100cf9207", kill_on_drop: false }` [INFO] [stdout] 999d6f5b0b0a14b01c3e2d45602dfc09823730a57ec430a279cb26a100cf9207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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] e31a05f46512cee583954b6fa5db49c78e2f4e0b5d15163516d2d875b8db5a29 [INFO] running `Command { std: "docker" "start" "-a" "e31a05f46512cee583954b6fa5db49c78e2f4e0b5d15163516d2d875b8db5a29", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [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] note: required by `from` [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" "e31a05f46512cee583954b6fa5db49c78e2f4e0b5d15163516d2d875b8db5a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e31a05f46512cee583954b6fa5db49c78e2f4e0b5d15163516d2d875b8db5a29", kill_on_drop: false }` [INFO] [stdout] e31a05f46512cee583954b6fa5db49c78e2f4e0b5d15163516d2d875b8db5a29