[INFO] updating cached repository Tomcc/orbit_optimizer
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/Tomcc/orbit_optimizer
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/Tomcc/orbit_optimizer" "work/ex/beta-1.37-6/sources/1.36.0/gh/Tomcc/orbit_optimizer"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/Tomcc/orbit_optimizer'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/Tomcc/orbit_optimizer" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Tomcc/orbit_optimizer"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Tomcc/orbit_optimizer'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 31caa4745a0ba2fc3d9cd9b80beaf5f88e0044d1
[INFO] sha for GitHub repo Tomcc/orbit_optimizer: 31caa4745a0ba2fc3d9cd9b80beaf5f88e0044d1
[INFO] validating manifest of Tomcc/orbit_optimizer on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of Tomcc/orbit_optimizer on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing Tomcc/orbit_optimizer
[INFO] finished frobbing Tomcc/orbit_optimizer
[INFO] frobbed toml for Tomcc/orbit_optimizer written to work/ex/beta-1.37-6/sources/1.36.0/gh/Tomcc/orbit_optimizer/Cargo.toml
[INFO] started frobbing Tomcc/orbit_optimizer
[INFO] finished frobbing Tomcc/orbit_optimizer
[INFO] frobbed toml for Tomcc/orbit_optimizer written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Tomcc/orbit_optimizer/Cargo.toml
[INFO] crate Tomcc/orbit_optimizer already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/Tomcc/orbit_optimizer/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing Tomcc/orbit_optimizer against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Tomcc/orbit_optimizer:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"`
[INFO] [stdout] f067a0605f9a0e00534c84c84a7bbb66c1e96f71c0e16eb305afae7c11ecbee2
[INFO] running `"docker" "start" "-a" "f067a0605f9a0e00534c84c84a7bbb66c1e96f71c0e16eb305afae7c11ecbee2"`
[INFO] [stderr]    Compiling gnuplot v0.0.31
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]    Compiling optimize_orbit v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `cgmath::Vector`, `cgmath::EuclideanVector`
[INFO] [stderr]  --> src/main.rs:9:14
[INFO] [stderr]   |
[INFO] [stderr] 9 | use cgmath::{Vector, Vector2, EuclideanVector};
[INFO] [stderr]   |              ^^^^^^           ^^^^^^^^^^^^^^^ no `EuclideanVector` in the root
[INFO] [stderr]   |              |
[INFO] [stderr]   |              no `Vector` in the root
[INFO] [stderr]   |              help: a similar name exists in the module: `vector`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]    --> src/main.rs:299:22
[INFO] [stderr]     |
[INFO] [stderr] 299 |                 a_points.push((trajectory.control_angle * RADDEG * 1000.));
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr]     = note: #[warn(unused_parens)] on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `length2` found for type `cgmath::Vector2<f64>` in the current scope
[INFO] [stderr]   --> src/main.rs:22:16
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let d2 = dist.length2();
[INFO] [stderr]    |                   ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `normalize` found for type `cgmath::Vector2<f64>` in the current scope
[INFO] [stderr]   --> src/main.rs:23:15
[INFO] [stderr]    |
[INFO] [stderr] 23 |     let n = dist.normalize();
[INFO] [stderr]    |                  ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it:
[INFO] [stderr]    |
[INFO] [stderr] 5  | use cgmath::InnerSpace;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `length` found for type `cgmath::Vector2<f64>` in the current scope
[INFO] [stderr]   --> src/main.rs:35:24
[INFO] [stderr]    |
[INFO] [stderr] 35 |     (pos - PLANET_CENTER).length() - PLANET_RADIUS
[INFO] [stderr]    |                           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `normalize` found for type `cgmath::Vector2<f64>` in the current scope
[INFO] [stderr]   --> src/main.rs:43:24
[INFO] [stderr]    |
[INFO] [stderr] 43 |     (PLANET_CENTER - pos).normalize()
[INFO] [stderr]    |                           ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it:
[INFO] [stderr]    |
[INFO] [stderr] 5  | use cgmath::InnerSpace;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `length` found for type `cgmath::Vector2<f64>` in the current scope
[INFO] [stderr]   --> src/main.rs:73:48
[INFO] [stderr]    |
[INFO] [stderr] 73 |         let t = (twr * self.mass() * gravity_at(pos).length()) / self.max_thrust;
[INFO] [stderr]    |                                                      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `dot` found for type `cgmath::Vector2<f64>` in the current scope
[INFO] [stderr]    --> src/main.rs:215:21
[INFO] [stderr]     |
[INFO] [stderr] 215 |         down_at(self.pos).dot(self.vel)
[INFO] [stderr]     |                           ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 5   | use cgmath::InnerSpace;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `length2` found for type `cgmath::Vector2<f64>` in the current scope
[INFO] [stderr]    --> src/main.rs:224:26
[INFO] [stderr]     |
[INFO] [stderr] 224 |         let drag = if self.vel.length2() > 0. && false /*HACK*/ {
[INFO] [stderr]     |                                ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `length` found for type `cgmath::Vector2<f64>` in the current scope
[INFO] [stderr]    --> src/main.rs:225:21
[INFO] [stderr]     |
[INFO] [stderr] 225 |             let V = self.vel.length();
[INFO] [stderr]     |                              ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `normalize` found for type `cgmath::Vector2<f64>` in the current scope
[INFO] [stderr]    --> src/main.rs:230:14
[INFO] [stderr]     |
[INFO] [stderr] 230 |             -self.vel.normalize() * d
[INFO] [stderr]     |                       ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 5   | use cgmath::InnerSpace;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `choose` found for type `rand::prelude::ThreadRng` in the current scope
[INFO] [stderr]    --> src/main.rs:417:18
[INFO] [stderr]     |
[INFO] [stderr] 417 |                 thread_rng().choose(&closest[1..mating_pool_size+1]).unwrap().1
[INFO] [stderr]     |                              ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `gen_weighted_bool` found for type `rand::prelude::ThreadRng` in the current scope
[INFO] [stderr]    --> src/main.rs:425:68
[INFO] [stderr]     |
[INFO] [stderr] 425 |         if gen_since_last_best > catastrophe_generations && thread_rng().gen_weighted_bool(catastrophe_generations) {
[INFO] [stderr]     |                                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 12 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0432`.
[INFO] [stderr] error: Could not compile `optimize_orbit`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "f067a0605f9a0e00534c84c84a7bbb66c1e96f71c0e16eb305afae7c11ecbee2"`
[INFO] running `"docker" "rm" "-f" "f067a0605f9a0e00534c84c84a7bbb66c1e96f71c0e16eb305afae7c11ecbee2"`
[INFO] [stdout] f067a0605f9a0e00534c84c84a7bbb66c1e96f71c0e16eb305afae7c11ecbee2
