[INFO] cloning repository https://github.com/XavilPergis/rusty-tiles [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XavilPergis/rusty-tiles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavilPergis%2Frusty-tiles"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavilPergis%2Frusty-tiles'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b6f1bcc7e7a95f4dfc36159eb911bb71ac50f3bd [INFO] checking XavilPergis/rusty-tiles against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavilPergis%2Frusty-tiles" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/XavilPergis/rusty-tiles on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/XavilPergis/rusty-tiles [INFO] finished tweaking git repo https://github.com/XavilPergis/rusty-tiles [INFO] tweaked toml for git repo https://github.com/XavilPergis/rusty-tiles written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/XavilPergis/rusty-tiles already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/bjz/noise-rs.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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] 491412c6404ac395f914f037e8f9f07e3a47cd2c5f9e4e90f5d2dd48000837ba [INFO] running `"docker" "start" "-a" "491412c6404ac395f914f037e8f9f07e3a47cd2c5f9e4e90f5d2dd48000837ba"` [INFO] [stderr] Checking piston-float v0.2.0 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Checking piston-texture v0.4.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Checking gif v0.8.0 [INFO] [stderr] Checking draw_state v0.4.0 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking png v0.5.2 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking noise v0.6.0 (https://github.com/bjz/noise-rs.git#5b9656e2) [INFO] [stderr] Compiling xml-rs v0.2.2 [INFO] [stderr] Checking piston-viewport v0.2.0 [INFO] [stderr] Checking vecmath v0.2.0 [INFO] [stderr] Checking pistoncore-input v0.10.0 [INFO] [stderr] Checking pistoncore-input v0.12.0 [INFO] [stderr] Checking gfx_core v0.2.1 [INFO] [stderr] Checking image v0.9.1 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Checking piston2d-graphics v0.16.0 [INFO] [stderr] Compiling glutin v0.5.2 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling gl_generator v0.4.2 [INFO] [stderr] Checking pistoncore-window v0.17.0 [INFO] [stderr] Checking pistoncore-window v0.19.0 [INFO] [stderr] Checking pistoncore-event_loop v0.20.1 [INFO] [stderr] Checking pistoncore-event_loop v0.22.1 [INFO] [stderr] Compiling gl v0.5.2 [INFO] [stderr] Checking piston v0.20.1 [INFO] [stderr] Checking piston v0.22.1 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking gfx v0.10.2 [INFO] [stderr] Checking gfx_device_gl v0.9.0 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking piston-gfx_texture v0.14.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.27.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.24.0 [INFO] [stderr] Checking piston_window v0.44.0 [INFO] [stderr] Checking blocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Brownian2` [INFO] [stderr] --> src/world/gen.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | let noise = Brownian2::new(match self.algo.as_str() { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Brownian2` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Seed` [INFO] [stderr] --> src/world/gen.rs:107:31 [INFO] [stderr] | [INFO] [stderr] 107 | let v = (noise.apply(&Seed::new(self.seed), &[bp.0 as f64 / self.scale, bp.1 as f64 / self.scale]) + self.shift).abs(); [INFO] [stderr] | ^^^^ use of undeclared type or module `Seed` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `perlin2` in this scope [INFO] [stderr] --> src/world/gen.rs:97:41 [INFO] [stderr] | [INFO] [stderr] 97 | "perlin" => { perlin2 }, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `open_simplex2` in this scope [INFO] [stderr] --> src/world/gen.rs:98:41 [INFO] [stderr] | [INFO] [stderr] 98 | "simplex" => { open_simplex2 }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_value` in this scope [INFO] [stderr] --> src/world/gen.rs:99:41 [INFO] [stderr] | [INFO] [stderr] 99 | "cell_value" => { cell2_value }, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_range` in this scope [INFO] [stderr] --> src/world/gen.rs:100:41 [INFO] [stderr] | [INFO] [stderr] 100 | "cell_range" => { cell2_range }, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_range_inv` in this scope [INFO] [stderr] --> src/world/gen.rs:101:41 [INFO] [stderr] | [INFO] [stderr] 101 | "cell_range_inv" => { cell2_range_inv }, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_manhattan_value` in this scope [INFO] [stderr] --> src/world/gen.rs:102:41 [INFO] [stderr] | [INFO] [stderr] 102 | "cell_manhattan_value" => { cell2_manhattan_value }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_manhattan` in this scope [INFO] [stderr] --> src/world/gen.rs:103:41 [INFO] [stderr] | [INFO] [stderr] 103 | "cell_manhattan" => { cell2_manhattan }, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_manhattan_inv` in this scope [INFO] [stderr] --> src/world/gen.rs:104:41 [INFO] [stderr] | [INFO] [stderr] 104 | "cell_manhattan_inv" => { cell2_manhattan_inv }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Brownian2` [INFO] [stderr] --> src/world/gen.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | let noise = Brownian2::new(match self.algo.as_str() { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Brownian2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_string` found for type `&serde_json::Value` in the current scope [INFO] [stderr] --> src/main.rs:161:71 [INFO] [stderr] | [INFO] [stderr] 161 | algo: gen_map.get(&"algo".to_string()) .unwrap().as_string().unwrap().to_string() [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `is_string` [INFO] [stderr] [INFO] [stderr] warning: unused import: `noise` [INFO] [stderr] --> src/world/gen.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use noise::*; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Seed` [INFO] [stderr] --> src/world/gen.rs:107:31 [INFO] [stderr] | [INFO] [stderr] 107 | let v = (noise.apply(&Seed::new(self.seed), &[bp.0 as f64 / self.scale, bp.1 as f64 / self.scale]) + self.shift).abs(); [INFO] [stderr] | ^^^^ use of undeclared type or module `Seed` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `perlin2` in this scope [INFO] [stderr] --> src/world/gen.rs:97:41 [INFO] [stderr] | [INFO] [stderr] 97 | "perlin" => { perlin2 }, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `open_simplex2` in this scope [INFO] [stderr] --> src/world/gen.rs:98:41 [INFO] [stderr] | [INFO] [stderr] 98 | "simplex" => { open_simplex2 }, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_value` in this scope [INFO] [stderr] --> src/world/gen.rs:99:41 [INFO] [stderr] | [INFO] [stderr] 99 | "cell_value" => { cell2_value }, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_range` in this scope [INFO] [stderr] --> src/world/gen.rs:100:41 [INFO] [stderr] | [INFO] [stderr] 100 | "cell_range" => { cell2_range }, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_range_inv` in this scope [INFO] [stderr] --> src/world/gen.rs:101:41 [INFO] [stderr] | [INFO] [stderr] 101 | "cell_range_inv" => { cell2_range_inv }, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_manhattan_value` in this scope [INFO] [stderr] --> src/world/gen.rs:102:41 [INFO] [stderr] | [INFO] [stderr] 102 | "cell_manhattan_value" => { cell2_manhattan_value }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_manhattan` in this scope [INFO] [stderr] --> src/world/gen.rs:103:41 [INFO] [stderr] | [INFO] [stderr] 103 | "cell_manhattan" => { cell2_manhattan }, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `cell2_manhattan_inv` in this scope [INFO] [stderr] --> src/world/gen.rs:104:41 [INFO] [stderr] | [INFO] [stderr] 104 | "cell_manhattan_inv" => { cell2_manhattan_inv }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RandomGenerator` in this scope [INFO] [stderr] --> src/tests.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | let wg = RandomGenerator {}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found struct `ChunkPos` [INFO] [stderr] --> src/tests.rs:23:29 [INFO] [stderr] | [INFO] [stderr] 23 | world.gen_chunk(ChunkPos(xp, yp)); [INFO] [stderr] | ^^^^^^^^ did you mean `ChunkPos { /* fields */ }`? [INFO] [stderr] | [INFO] [stderr] ::: src/world/chunk.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / pub struct ChunkPos { [INFO] [stderr] 11 | | pub x: i64, [INFO] [stderr] 12 | | pub y: i64 [INFO] [stderr] 13 | | } [INFO] [stderr] | |_- `ChunkPos` defined here [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RandomGenerator` in this scope [INFO] [stderr] --> src/tests.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | let wg = RandomGenerator {}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found struct `ChunkPos` [INFO] [stderr] --> src/tests.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | world.gen_chunk(ChunkPos(xp, yp)); [INFO] [stderr] | ^^^^^^^^ did you mean `ChunkPos { /* fields */ }`? [INFO] [stderr] | [INFO] [stderr] ::: src/world/chunk.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / pub struct ChunkPos { [INFO] [stderr] 11 | | pub x: i64, [INFO] [stderr] 12 | | pub y: i64 [INFO] [stderr] 13 | | } [INFO] [stderr] | |_- `ChunkPos` defined here [INFO] [stderr] [INFO] [stderr] error: could not compile `blocks`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `as_string` found for type `&serde_json::Value` in the current scope [INFO] [stderr] --> src/main.rs:161:71 [INFO] [stderr] | [INFO] [stderr] 161 | algo: gen_map.get(&"algo".to_string()) .unwrap().as_string().unwrap().to_string() [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `is_string` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `world::world::World` has no field named `gen` [INFO] [stderr] --> src/tests.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | gen: wg, [INFO] [stderr] | ^^^ `world::world::World` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `loaded_chunks`, `queued_chunks` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `gen_chunk` found for type `world::world::World` in the current scope [INFO] [stderr] --> src/tests.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | world.gen_chunk(ChunkPos(xp, yp)); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `get_chunk` [INFO] [stderr] | [INFO] [stderr] ::: src/world/world.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct World { [INFO] [stderr] | ---------------- method `gen_chunk` not found for this [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `world::world::World` has no field named `gen` [INFO] [stderr] --> src/tests.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | gen: wg, [INFO] [stderr] | ^^^ `world::world::World` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `loaded_chunks`, `queued_chunks` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `gen_chunk` found for type `world::world::World` in the current scope [INFO] [stderr] --> src/tests.rs:49:19 [INFO] [stderr] | [INFO] [stderr] 49 | world.gen_chunk(ChunkPos(xp, yp)); [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `get_chunk` [INFO] [stderr] | [INFO] [stderr] ::: src/world/world.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct World { [INFO] [stderr] | ---------------- method `gen_chunk` not found for this [INFO] [stderr] [INFO] [stderr] warning: unused import: `noise` [INFO] [stderr] --> src/world/gen.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use noise::*; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0422, E0423, E0425, E0433, E0560, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0422`. [INFO] [stderr] error: could not compile `blocks`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "491412c6404ac395f914f037e8f9f07e3a47cd2c5f9e4e90f5d2dd48000837ba"` [INFO] running `"docker" "rm" "-f" "491412c6404ac395f914f037e8f9f07e3a47cd2c5f9e4e90f5d2dd48000837ba"` [INFO] [stdout] 491412c6404ac395f914f037e8f9f07e3a47cd2c5f9e4e90f5d2dd48000837ba