[INFO] updating cached repository https://github.com/eggmunkee/mathis-app [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3a0dc03a9ed0005c81a714527098c9d8abaf46c7 [INFO] testing eggmunkee/mathis-app against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Fmathis-app" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eggmunkee/mathis-app on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/eggmunkee/mathis-app [INFO] finished tweaking git repo https://github.com/eggmunkee/mathis-app [INFO] tweaked toml for git repo https://github.com/eggmunkee/mathis-app written to work/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/eggmunkee/mathis-app already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 6428ef1f92c2ca54886d7ca5132c144c8b1fce7398928bdf40e10e6bd7dd4bb8 [INFO] running `"docker" "start" "-a" "6428ef1f92c2ca54886d7ca5132c144c8b1fce7398928bdf40e10e6bd7dd4bb8"` [INFO] [stderr] Compiling clock_ticks v0.1.1 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling piston-gfx_texture v0.40.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.66.0 [INFO] [stderr] Compiling piston_window v0.105.0 [INFO] [stderr] Compiling mathis_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `rand::distributions::Range` [INFO] [stderr] --> src/mathis_engine.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use rand::distributions::Range; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Range` in `distributions` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range` [INFO] [stderr] --> src/mathis_app.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | use rand::distributions::{IndependentSample, Range}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^ no `Range` in `distributions` [INFO] [stderr] | | [INFO] [stderr] | no `IndependentSample` in `distributions` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range` [INFO] [stderr] --> src/scene_templates.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | use rand::distributions::{IndependentSample, Range}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^ no `Range` in `distributions` [INFO] [stderr] | | [INFO] [stderr] | no `IndependentSample` in `distributions` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/mathis_engine.rs:108:21 [INFO] [stderr] | [INFO] [stderr] 108 | let bombardment = (2.0 * eff_g * m * M / ( r_squared2 * eff_c )); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/mathis_engine.rs:111:6 [INFO] [stderr] | [INFO] [stderr] 111 | if (expansion > 0.0) { panic!("Expansion isn't negative! H = {}", expansion); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/mathis_engine.rs:112:6 [INFO] [stderr] | [INFO] [stderr] 112 | if (bombardment < 0.0) { panic!("Bombardment isn't negative! E = {}", bombardment); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `graphics::math::*` [INFO] [stderr] --> src/mathis_app.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use graphics::math::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: `piston_window::PistonWindow` is not an iterator [INFO] [stderr] --> src/mathis_app.rs:106:18 [INFO] [stderr] | [INFO] [stderr] 106 | for e in window { [INFO] [stderr] | ^^^^^^ `piston_window::PistonWindow` is not an iterator [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::Iterator` is not implemented for `piston_window::PistonWindow` [INFO] [stderr] = note: required by `std::iter::IntoIterator::into_iter` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `mathis_app`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6428ef1f92c2ca54886d7ca5132c144c8b1fce7398928bdf40e10e6bd7dd4bb8"` [INFO] running `"docker" "rm" "-f" "6428ef1f92c2ca54886d7ca5132c144c8b1fce7398928bdf40e10e6bd7dd4bb8"` [INFO] [stdout] 6428ef1f92c2ca54886d7ca5132c144c8b1fce7398928bdf40e10e6bd7dd4bb8