[INFO] cloning repository https://github.com/mchesser/mapgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mchesser/mapgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fmapgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fmapgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a31a3c395c4c44232f220e1d9470661755292b8 [INFO] checking mchesser/mapgen against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fmapgen" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mchesser/mapgen on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mchesser/mapgen [INFO] finished tweaking git repo https://github.com/mchesser/mapgen [INFO] tweaked toml for git repo https://github.com/mchesser/mapgen written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/mchesser/mapgen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-11/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/quvarxa/basic2d.git` [INFO] [stderr] Updating git repository `https://github.com/quvarxa/bitmap.git` [INFO] [stderr] Updating git repository `https://github.com/quvarxa/interpolate.git` [INFO] [stderr] Updating git repository `https://github.com/bjz/noise-rs` [INFO] [stderr] warning: fetching `master` branch from `https://github.com/bjz/noise-rs` but the `HEAD` reference for this repository is not the `master` branch. This behavior will change in Cargo in the future and your build may break, so it's recommended to place `branch = "master"` in Cargo.toml when depending on this git repository to ensure that your build will continue to work. [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 407eb85e938547f814194b91336ca95e3c4f68d505096d5189b0b07f646f5996 [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" "407eb85e938547f814194b91336ca95e3c4f68d505096d5189b0b07f646f5996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "407eb85e938547f814194b91336ca95e3c4f68d505096d5189b0b07f646f5996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "407eb85e938547f814194b91336ca95e3c4f68d505096d5189b0b07f646f5996", kill_on_drop: false }` [INFO] [stdout] 407eb85e938547f814194b91336ca95e3c4f68d505096d5189b0b07f646f5996 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbba61151d8daf73101d1bdcf083d91bee945796b3b3c5f572f2b2e2e03cfe5e [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" "cbba61151d8daf73101d1bdcf083d91bee945796b3b3c5f572f2b2e2e03cfe5e", kill_on_drop: false }` [INFO] [stderr] Checking interpolate v0.1.0 (https://github.com/quvarxa/interpolate.git#f6208548) [INFO] [stderr] Checking bitmap v0.0.3 (https://github.com/quvarxa/bitmap.git#2a04c902) [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking num-bigint v0.3.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking basic2d v0.0.2 (https://github.com/quvarxa/basic2d.git#3c8d23f3) [INFO] [stderr] Checking noise v0.6.0 (https://github.com/bjz/noise-rs#5b9656e2) [INFO] [stderr] Checking mapgen v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `noise::Seed`, `noise::Brownian2`, `noise::open_simplex2` [INFO] [stdout] --> src/mapgen.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use noise::{Seed, Brownian2, open_simplex2}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `open_simplex2` in the root [INFO] [stdout] | | | help: a similar name exists in the module: `OpenSimplex` [INFO] [stdout] | | no `Brownian2` in the root [INFO] [stdout] | no `Seed` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let mut file = try!(File::create(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mapgen.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | for x in (0..map.width()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mapgen.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | for y in (0..map.height()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mapgen.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | for y in (start_y .. end_y + 1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mapgen.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | for x in (start_x .. end_x + 1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `noise::Seed`, `noise::Brownian2`, `noise::open_simplex2` [INFO] [stdout] --> src/mapgen.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use noise::{Seed, Brownian2, open_simplex2}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `open_simplex2` in the root [INFO] [stdout] | | | help: a similar name exists in the module: `OpenSimplex` [INFO] [stdout] | | no `Brownian2` in the root [INFO] [stdout] | no `Seed` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let mut file = try!(File::create(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mapgen.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | for x in (0..map.width()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mapgen.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | for y in (0..map.height()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mapgen.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | for y in (start_y .. end_y + 1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/mapgen.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | for x in (start_x .. end_x + 1) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mapgen` [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] error[E0599]: no method named `find_closest` found for struct `kd_tree::KdTree<(f32, f32)>` in the current scope [INFO] [stdout] --> src/kd_tree.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct KdTree where T: VectorObject { [INFO] [stdout] | ------------------------------------------ method `find_closest` not found for this [INFO] [stdout] ... [INFO] [stdout] 175 | assert_eq!(kd_tree.find_closest(&(1.0, 1.0)), Some((2.0, 3.0))); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `find_nearest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_closest` found for struct `kd_tree::KdTree<(f32, f32)>` in the current scope [INFO] [stdout] --> src/kd_tree.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct KdTree where T: VectorObject { [INFO] [stdout] | ------------------------------------------ method `find_closest` not found for this [INFO] [stdout] ... [INFO] [stdout] 176 | assert_eq!(kd_tree.find_closest(&(2.0, 3.0)), Some((2.0, 3.0))); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `find_nearest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_closest` found for struct `kd_tree::KdTree<(f32, f32)>` in the current scope [INFO] [stdout] --> src/kd_tree.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct KdTree where T: VectorObject { [INFO] [stdout] | ------------------------------------------ method `find_closest` not found for this [INFO] [stdout] ... [INFO] [stdout] 177 | assert_eq!(kd_tree.find_closest(&(5.0, 4.0)), Some((5.0, 4.0))); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `find_nearest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_closest` found for struct `kd_tree::KdTree<(f32, f32)>` in the current scope [INFO] [stdout] --> src/kd_tree.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct KdTree where T: VectorObject { [INFO] [stdout] | ------------------------------------------ method `find_closest` not found for this [INFO] [stdout] ... [INFO] [stdout] 178 | assert_eq!(kd_tree.find_closest(&(9.0, 6.0)), Some((9.0, 6.0))); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `find_nearest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_closest` found for struct `kd_tree::KdTree<(f32, f32)>` in the current scope [INFO] [stdout] --> src/kd_tree.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct KdTree where T: VectorObject { [INFO] [stdout] | ------------------------------------------ method `find_closest` not found for this [INFO] [stdout] ... [INFO] [stdout] 179 | assert_eq!(kd_tree.find_closest(&(4.0, 7.0)), Some((4.0, 7.0))); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `find_nearest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_closest` found for struct `kd_tree::KdTree<(f32, f32)>` in the current scope [INFO] [stdout] --> src/kd_tree.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct KdTree where T: VectorObject { [INFO] [stdout] | ------------------------------------------ method `find_closest` not found for this [INFO] [stdout] ... [INFO] [stdout] 180 | assert_eq!(kd_tree.find_closest(&(8.0, 1.0)), Some((8.0, 1.0))); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `find_nearest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_closest` found for struct `kd_tree::KdTree<(f32, f32)>` in the current scope [INFO] [stdout] --> src/kd_tree.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct KdTree where T: VectorObject { [INFO] [stdout] | ------------------------------------------ method `find_closest` not found for this [INFO] [stdout] ... [INFO] [stdout] 181 | assert_eq!(kd_tree.find_closest(&(7.0, 2.0)), Some((7.0, 2.0))); [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `find_nearest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cbba61151d8daf73101d1bdcf083d91bee945796b3b3c5f572f2b2e2e03cfe5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbba61151d8daf73101d1bdcf083d91bee945796b3b3c5f572f2b2e2e03cfe5e", kill_on_drop: false }` [INFO] [stdout] cbba61151d8daf73101d1bdcf083d91bee945796b3b3c5f572f2b2e2e03cfe5e