[INFO] updating cached repository https://github.com/Tomcc/orbit_optimizer [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] 31caa4745a0ba2fc3d9cd9b80beaf5f88e0044d1 [INFO] testing Tomcc/orbit_optimizer against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomcc%2Forbit_optimizer" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tomcc/orbit_optimizer on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Tomcc/orbit_optimizer [INFO] finished tweaking git repo https://github.com/Tomcc/orbit_optimizer [INFO] tweaked toml for git repo https://github.com/Tomcc/orbit_optimizer written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Tomcc/orbit_optimizer already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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.44.0" "build" "--frozen"` [INFO] [stdout] 8f7e7f0ef88d9afd62d9bb598ab0cb6e15ff6c4d250d466c487701d78a869005 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "8f7e7f0ef88d9afd62d9bb598ab0cb6e15ff6c4d250d466c487701d78a869005"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling gnuplot v0.0.36 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling optimize_orbit v0.1.0 (/opt/rustwide/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 (notice the capitalization): `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 struct `cgmath::Vector2` in the current scope [INFO] [stderr] --> src/main.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | let d2 = dist.length2(); [INFO] [stderr] | ^^^^^^^ method not found in `cgmath::Vector2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `normalize` found for struct `cgmath::Vector2` in the current scope [INFO] [stderr] --> src/main.rs:23:15 [INFO] [stderr] | [INFO] [stderr] 23 | let n = dist.normalize(); [INFO] [stderr] | ^^^^^^^^^ method not found in `cgmath::Vector2` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.17.0/src/structure.rs:261:8 [INFO] [stderr] | [INFO] [stderr] 261 | fn normalize(self) -> Self { [INFO] [stderr] | --------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [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 struct `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] | ^^^^^^ method not found in `cgmath::Vector2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `normalize` found for struct `cgmath::Vector2` in the current scope [INFO] [stderr] --> src/main.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | (PLANET_CENTER - pos).normalize() [INFO] [stderr] | ^^^^^^^^^ method not found in `cgmath::Vector2` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.17.0/src/structure.rs:261:8 [INFO] [stderr] | [INFO] [stderr] 261 | fn normalize(self) -> Self { [INFO] [stderr] | --------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [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 struct `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] | ^^^^^^ method not found in `cgmath::Vector2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dot` found for struct `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] | ^^^ method not found in `cgmath::Vector2` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.17.0/src/structure.rs:230:8 [INFO] [stderr] | [INFO] [stderr] 230 | fn dot(self, other: Self) -> Self::Scalar; [INFO] [stderr] | --- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [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 struct `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] | ^^^^^^^ method not found in `cgmath::Vector2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `length` found for struct `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] | ^^^^^^ method not found in `cgmath::Vector2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `normalize` found for struct `cgmath::Vector2` in the current scope [INFO] [stderr] --> src/main.rs:230:14 [INFO] [stderr] | [INFO] [stderr] 230 | -self.vel.normalize() * d [INFO] [stderr] | ^^^^^^^^^ method not found in `cgmath::Vector2` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.17.0/src/structure.rs:261:8 [INFO] [stderr] | [INFO] [stderr] 261 | fn normalize(self) -> Self { [INFO] [stderr] | --------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [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 struct `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] | ^^^^^^ method not found in `rand::prelude::ThreadRng` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `gen_weighted_bool` found for struct `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] | ^^^^^^^^^^^^^^^^^ method not found in `rand::prelude::ThreadRng` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors; 1 warning emitted [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" "8f7e7f0ef88d9afd62d9bb598ab0cb6e15ff6c4d250d466c487701d78a869005"` [INFO] running `"docker" "rm" "-f" "8f7e7f0ef88d9afd62d9bb598ab0cb6e15ff6c4d250d466c487701d78a869005"` [INFO] [stdout] 8f7e7f0ef88d9afd62d9bb598ab0cb6e15ff6c4d250d466c487701d78a869005