[INFO] cloning repository https://github.com/Tomcc/orbit_optimizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tomcc/orbit_optimizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomcc%2Forbit_optimizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomcc%2Forbit_optimizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31caa4745a0ba2fc3d9cd9b80beaf5f88e0044d1 [INFO] checking Tomcc/orbit_optimizer against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomcc%2Forbit_optimizer" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tomcc/orbit_optimizer on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/Tomcc/orbit_optimizer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gnuplot v0.0.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b23641c297b2ccdcbb760495c8b5bea7a9b6cb252f6051d3a02a379fb3ddd0a7 [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" "b23641c297b2ccdcbb760495c8b5bea7a9b6cb252f6051d3a02a379fb3ddd0a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b23641c297b2ccdcbb760495c8b5bea7a9b6cb252f6051d3a02a379fb3ddd0a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b23641c297b2ccdcbb760495c8b5bea7a9b6cb252f6051d3a02a379fb3ddd0a7", kill_on_drop: false }` [INFO] [stdout] b23641c297b2ccdcbb760495c8b5bea7a9b6cb252f6051d3a02a379fb3ddd0a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47adb794596f244d541cf3b2f51fbc8b1277e00d6f048f6e3cc051e628cc0b39 [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" "47adb794596f244d541cf3b2f51fbc8b1277e00d6f048f6e3cc051e628cc0b39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking gnuplot v0.0.37 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking optimize_orbit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `cgmath::Vector`, `cgmath::EuclideanVector` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use cgmath::{Vector, Vector2, EuclideanVector}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ no `EuclideanVector` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Vector` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | a_points.push((trajectory.control_angle * RADDEG * 1000.)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `cgmath::Vector`, `cgmath::EuclideanVector` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use cgmath::{Vector, Vector2, EuclideanVector}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ no `EuclideanVector` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Vector` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | a_points.push((trajectory.control_angle * RADDEG * 1000.)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length2` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let d2 = dist.length2(); [INFO] [stdout] | ^^^^^^^ method not found in `Vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length2` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let d2 = dist.length2(); [INFO] [stdout] | ^^^^^^^ method not found in `Vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `normalize` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let n = dist.normalize(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vector2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::InnerSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `normalize` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let n = dist.normalize(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vector2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::InnerSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | (pos - PLANET_CENTER).length() - PLANET_RADIUS [INFO] [stdout] | ^^^^^^ method not found in `Vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `normalize` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | (PLANET_CENTER - pos).normalize() [INFO] [stdout] | ^^^^^^^^^ method not found in `Vector2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::InnerSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | (pos - PLANET_CENTER).length() - PLANET_RADIUS [INFO] [stdout] | ^^^^^^ method not found in `Vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | let t = (twr * self.mass() * gravity_at(pos).length()) / self.max_thrust; [INFO] [stdout] | ^^^^^^ method not found in `Vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `normalize` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | (PLANET_CENTER - pos).normalize() [INFO] [stdout] | ^^^^^^^^^ method not found in `Vector2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::InnerSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | let t = (twr * self.mass() * gravity_at(pos).length()) / self.max_thrust; [INFO] [stdout] | ^^^^^^ method not found in `Vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dot` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | down_at(self.pos).dot(self.vel) [INFO] [stdout] | ^^^ method not found in `Vector2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::InnerSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length2` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | let drag = if self.vel.length2() > 0. && false /*HACK*/ { [INFO] [stdout] | ^^^^^^^ method not found in `Vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | let V = self.vel.length(); [INFO] [stdout] | ^^^^^^ method not found in `Vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `normalize` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | -self.vel.normalize() * d [INFO] [stdout] | ^^^^^^^^^ method not found in `Vector2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::InnerSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dot` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | down_at(self.pos).dot(self.vel) [INFO] [stdout] | ^^^ method not found in `Vector2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::InnerSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length2` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | let drag = if self.vel.length2() > 0. && false /*HACK*/ { [INFO] [stdout] | ^^^^^^^ method not found in `Vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | let V = self.vel.length(); [INFO] [stdout] | ^^^^^^ method not found in `Vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `normalize` found for struct `Vector2` in the current scope [INFO] [stdout] --> src/main.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | -self.vel.normalize() * d [INFO] [stdout] | ^^^^^^^^^ method not found in `Vector2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::InnerSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/main.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | thread_rng().choose(&closest[1..mating_pool_size+1]).unwrap().1 [INFO] [stdout] | ^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/main.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | thread_rng().choose(&closest[1..mating_pool_size+1]).unwrap().1 [INFO] [stdout] | ^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/main.rs:425:68 [INFO] [stdout] | [INFO] [stdout] 425 | if gen_since_last_best > catastrophe_generations && thread_rng().gen_weighted_bool(catastrophe_generations) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_weighted_bool` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/main.rs:425:68 [INFO] [stdout] | [INFO] [stdout] 425 | if gen_since_last_best > catastrophe_generations && thread_rng().gen_weighted_bool(catastrophe_generations) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `optimize_orbit` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "47adb794596f244d541cf3b2f51fbc8b1277e00d6f048f6e3cc051e628cc0b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47adb794596f244d541cf3b2f51fbc8b1277e00d6f048f6e3cc051e628cc0b39", kill_on_drop: false }` [INFO] [stdout] 47adb794596f244d541cf3b2f51fbc8b1277e00d6f048f6e3cc051e628cc0b39