[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/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/Tomcc/orbit_optimizer"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/Tomcc/orbit_optimizer'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Tomcc/orbit_optimizer" "work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/Tomcc/orbit_optimizer"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/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 master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Tomcc/orbit_optimizer on toolchain try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "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/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/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/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/Tomcc/orbit_optimizer/Cargo.toml [INFO] crate Tomcc/orbit_optimizer already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/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/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking Tomcc/orbit_optimizer against try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b for pr-59199 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59199/worker-0/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/Tomcc/orbit_optimizer:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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=forbid" "-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" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3d27a87a6c6135ccb9f0fa06b837c6687d05059dff3b8d239451978335c6ffaf [INFO] running `"docker" "start" "-a" "3d27a87a6c6135ccb9f0fa06b837c6687d05059dff3b8d239451978335c6ffaf"` [INFO] [stderr] Checking 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: unused imports: `EuclideanVector`, `Vector` [INFO] [stderr] --> src/main.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | use cgmath::{Vector, Vector2, EuclideanVector}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [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[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: unused imports: `EuclideanVector`, `Vector` [INFO] [stderr] --> src/main.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | use cgmath::{Vector, Vector2, EuclideanVector}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [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` 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` 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` 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` 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` 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 `length2` found for type `cgmath::Vector2` 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` 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` 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` 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` 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` 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` 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` 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` 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] warning: use of deprecated item 'rand::Rng::choose': use SliceRandom::choose instead [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] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dot` found for type `cgmath::Vector2` 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` 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` 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` 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] warning: use of deprecated item 'rand::Rng::choose': use SliceRandom::choose instead [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] = note: #[warn(deprecated)] on by default [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 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `optimize_orbit`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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" "3d27a87a6c6135ccb9f0fa06b837c6687d05059dff3b8d239451978335c6ffaf"` [INFO] running `"docker" "rm" "-f" "3d27a87a6c6135ccb9f0fa06b837c6687d05059dff3b8d239451978335c6ffaf"` [INFO] [stdout] 3d27a87a6c6135ccb9f0fa06b837c6687d05059dff3b8d239451978335c6ffaf