[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchesser%2Fmapgen" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mchesser/mapgen 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/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-0/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/quvarxa/bitmap.git` [INFO] [stderr] Updating git repository `https://github.com/bjz/noise-rs` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-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" "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] 41582f9ccd843e2a7e15863f6b72425b9f2bcfcfde7d050d734cc0375dddd503 [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" "41582f9ccd843e2a7e15863f6b72425b9f2bcfcfde7d050d734cc0375dddd503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41582f9ccd843e2a7e15863f6b72425b9f2bcfcfde7d050d734cc0375dddd503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41582f9ccd843e2a7e15863f6b72425b9f2bcfcfde7d050d734cc0375dddd503", kill_on_drop: false }` [INFO] [stdout] 41582f9ccd843e2a7e15863f6b72425b9f2bcfcfde7d050d734cc0375dddd503 [INFO] running `Command { std: "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" "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] 898e7be997e65b2b83b26bcdc20ccec03dd942f6923135941970f2f93a7d703d [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" "898e7be997e65b2b83b26bcdc20ccec03dd942f6923135941970f2f93a7d703d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lzw v0.10.0 [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 memoffset v0.5.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking basic2d v0.0.2 (https://github.com/quvarxa/basic2d.git#3c8d23f3) [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.18.0 [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" "898e7be997e65b2b83b26bcdc20ccec03dd942f6923135941970f2f93a7d703d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "898e7be997e65b2b83b26bcdc20ccec03dd942f6923135941970f2f93a7d703d", kill_on_drop: false }` [INFO] [stdout] 898e7be997e65b2b83b26bcdc20ccec03dd942f6923135941970f2f93a7d703d