[INFO] updating cached repository https://github.com/teleportex/nbody [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] a54251205206cf58b3fb2d8191a137071d1b0110 [INFO] checking teleportex/nbody against try#879b8cb7dc2ad9102994457e73cf78d124926ea5 for pr-73084 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteleportex%2Fnbody" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teleportex/nbody on toolchain 879b8cb7dc2ad9102994457e73cf78d124926ea5 [INFO] running `"/workspace/cargo-home/bin/cargo" "+879b8cb7dc2ad9102994457e73cf78d124926ea5" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/teleportex/nbody [INFO] finished tweaking git repo https://github.com/teleportex/nbody [INFO] tweaked toml for git repo https://github.com/teleportex/nbody written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/teleportex/nbody already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+879b8cb7dc2ad9102994457e73cf78d124926ea5" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=forbid" "-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" "+879b8cb7dc2ad9102994457e73cf78d124926ea5" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c159572499698fdc7370ddc733fb1e45e7e01ff80d0e0da0ea43df7056690e0f [INFO] running `"docker" "start" "-a" "c159572499698fdc7370ddc733fb1e45e7e01ff80d0e0da0ea43df7056690e0f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking nbody v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected `;`, found keyword `for` [INFO] [stderr] --> src/io.rs:28:6 [INFO] [stderr] | [INFO] [stderr] 28 | } [INFO] [stderr] | ^ help: add `;` here [INFO] [stderr] 29 | [INFO] [stderr] 30 | for line in reader.lines() { [INFO] [stderr] | --- unexpected token [INFO] [stderr] [INFO] [stderr] error: expected `;`, found keyword `for` [INFO] [stderr] --> src/io.rs:46:22 [INFO] [stderr] | [INFO] [stderr] 46 | } [INFO] [stderr] | ^ help: add `;` here [INFO] [stderr] 47 | for spec in words { [INFO] [stderr] | --- unexpected token [INFO] [stderr] [INFO] [stderr] error: expected `;`, found keyword `for` [INFO] [stderr] --> src/io.rs:28:6 [INFO] [stderr] | [INFO] [stderr] 28 | } [INFO] [stderr] | ^ help: add `;` here [INFO] [stderr] 29 | [INFO] [stderr] 30 | for line in reader.lines() { [INFO] [stderr] | --- unexpected token [INFO] [stderr] [INFO] [stderr] error: expected `;`, found keyword `for` [INFO] [stderr] --> src/io.rs:46:22 [INFO] [stderr] | [INFO] [stderr] 46 | } [INFO] [stderr] | ^ help: add `;` here [INFO] [stderr] 47 | for spec in words { [INFO] [stderr] | --- unexpected token [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Body` in this scope [INFO] [stderr] --> src/controller.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | pub bodies: Vec [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 3 | use crate::body::Body; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Particle` in this scope [INFO] [stderr] --> src/body.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | Particle { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Particle` in this scope [INFO] [stderr] --> src/body.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | Particle { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Body` in this scope [INFO] [stderr] --> src/io.rs:41:33 [INFO] [stderr] | [INFO] [stderr] 41 | let mut b = Body { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use crate::body::Body; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Body` in this scope [INFO] [stderr] --> src/controller.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | pub bodies: Vec [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 3 | use crate::body::Body; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Particle` in this scope [INFO] [stderr] --> src/body.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | Particle { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Body` in this scope [INFO] [stderr] --> src/io.rs:41:33 [INFO] [stderr] | [INFO] [stderr] 41 | let mut b = Body { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use crate::body::Body; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `len` found for enum `std::option::Option<&str>` in the current scope [INFO] [stderr] --> src/io.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | if word.len() != 0 && word.chars().next().unwrap() != '#' { [INFO] [stderr] | ^^^ method not found in `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `chars` found for enum `std::option::Option<&str>` in the current scope [INFO] [stderr] --> src/io.rs:35:36 [INFO] [stderr] | [INFO] [stderr] 35 | if word.len() != 0 && word.chars().next().unwrap() != '#' { [INFO] [stderr] | ^^^^^ method not found in `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/io.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 36 | match word { [INFO] [stderr] | ---- this expression has type `std::option::Option<&str>` [INFO] [stderr] 37 | ".N" => { [INFO] [stderr] | ^^^^ expected enum `std::option::Option`, found `&str` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&str>` [INFO] [stderr] found reference `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/io.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 36 | match word { [INFO] [stderr] | ---- this expression has type `std::option::Option<&str>` [INFO] [stderr] ... [INFO] [stderr] 40 | ".B" => { [INFO] [stderr] | ^^^^ expected enum `std::option::Option`, found `&str` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&str>` [INFO] [stderr] found reference `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse` found for enum `std::option::Option<&str>` in the current scope [INFO] [stderr] --> src/io.rs:38:46 [INFO] [stderr] | [INFO] [stderr] 38 | ret.nbody = words.next().parse::(); [INFO] [stderr] | ^^^^^ method not found in `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:50:44 [INFO] [stderr] | [INFO] [stderr] 50 | ... b.m = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:53:48 [INFO] [stderr] | [INFO] [stderr] 53 | ... b.pos.x = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:56:48 [INFO] [stderr] | [INFO] [stderr] 56 | ... b.pos.y = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:59:48 [INFO] [stderr] | [INFO] [stderr] 59 | ... b.pos.z = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:62:48 [INFO] [stderr] | [INFO] [stderr] 62 | ... b.vel.x = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:65:48 [INFO] [stderr] | [INFO] [stderr] 65 | ... b.vel.y = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:68:48 [INFO] [stderr] | [INFO] [stderr] 68 | ... b.vel.z = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:71:48 [INFO] [stderr] | [INFO] [stderr] 71 | ... b.acc.x = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:74:48 [INFO] [stderr] | [INFO] [stderr] 74 | ... b.acc.y = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:77:48 [INFO] [stderr] | [INFO] [stderr] 77 | ... b.acc.z = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0422, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `nbody`. [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] [stderr] error[E0599]: no method named `len` found for enum `std::option::Option<&str>` in the current scope [INFO] [stderr] --> src/io.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | if word.len() != 0 && word.chars().next().unwrap() != '#' { [INFO] [stderr] | ^^^ method not found in `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `chars` found for enum `std::option::Option<&str>` in the current scope [INFO] [stderr] --> src/io.rs:35:36 [INFO] [stderr] | [INFO] [stderr] 35 | if word.len() != 0 && word.chars().next().unwrap() != '#' { [INFO] [stderr] | ^^^^^ method not found in `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/io.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 36 | match word { [INFO] [stderr] | ---- this expression has type `std::option::Option<&str>` [INFO] [stderr] 37 | ".N" => { [INFO] [stderr] | ^^^^ expected enum `std::option::Option`, found `&str` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&str>` [INFO] [stderr] found reference `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/io.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 36 | match word { [INFO] [stderr] | ---- this expression has type `std::option::Option<&str>` [INFO] [stderr] ... [INFO] [stderr] 40 | ".B" => { [INFO] [stderr] | ^^^^ expected enum `std::option::Option`, found `&str` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option<&str>` [INFO] [stderr] found reference `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `parse` found for enum `std::option::Option<&str>` in the current scope [INFO] [stderr] --> src/io.rs:38:46 [INFO] [stderr] | [INFO] [stderr] 38 | ret.nbody = words.next().parse::(); [INFO] [stderr] | ^^^^^ method not found in `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:50:44 [INFO] [stderr] | [INFO] [stderr] 50 | ... b.m = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:53:48 [INFO] [stderr] | [INFO] [stderr] 53 | ... b.pos.x = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:56:48 [INFO] [stderr] | [INFO] [stderr] 56 | ... b.pos.y = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:59:48 [INFO] [stderr] | [INFO] [stderr] 59 | ... b.pos.z = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:62:48 [INFO] [stderr] | [INFO] [stderr] 62 | ... b.vel.x = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:65:48 [INFO] [stderr] | [INFO] [stderr] 65 | ... b.vel.y = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:68:48 [INFO] [stderr] | [INFO] [stderr] 68 | ... b.vel.z = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:71:48 [INFO] [stderr] | [INFO] [stderr] 71 | ... b.acc.x = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:74:48 [INFO] [stderr] | [INFO] [stderr] 74 | ... b.acc.y = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `next` found for reference `&str` in the current scope [INFO] [stderr] --> src/io.rs:77:48 [INFO] [stderr] | [INFO] [stderr] 77 | ... b.acc.z = spec.next().parse::(); [INFO] [stderr] | ^^^^ method not found in `&str` [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0422, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c159572499698fdc7370ddc733fb1e45e7e01ff80d0e0da0ea43df7056690e0f"` [INFO] running `"docker" "rm" "-f" "c159572499698fdc7370ddc733fb1e45e7e01ff80d0e0da0ea43df7056690e0f"` [INFO] [stdout] c159572499698fdc7370ddc733fb1e45e7e01ff80d0e0da0ea43df7056690e0f