[INFO] cloning repository https://github.com/procedural-rust/perlin_noise [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/procedural-rust/perlin_noise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprocedural-rust%2Fperlin_noise", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprocedural-rust%2Fperlin_noise'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb037b9b2017a570def5c81140e80373d6ae8dc3 [INFO] checking procedural-rust/perlin_noise against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprocedural-rust%2Fperlin_noise" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/procedural-rust/perlin_noise [INFO] finished tweaking git repo https://github.com/procedural-rust/perlin_noise [INFO] tweaked toml for git repo https://github.com/procedural-rust/perlin_noise written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/procedural-rust/perlin_noise on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/procedural-rust/perlin_noise already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5347397e95139aa40149d289ab2e5ea2514e5ed7dc85b3d1d0108896aac4dc5 [INFO] running `Command { std: "docker" "start" "-a" "c5347397e95139aa40149d289ab2e5ea2514e5ed7dc85b3d1d0108896aac4dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5347397e95139aa40149d289ab2e5ea2514e5ed7dc85b3d1d0108896aac4dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5347397e95139aa40149d289ab2e5ea2514e5ed7dc85b3d1d0108896aac4dc5", kill_on_drop: false }` [INFO] [stdout] c5347397e95139aa40149d289ab2e5ea2514e5ed7dc85b3d1d0108896aac4dc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8763a3ff3348755916bbb203ed590568aaa0ada3cdce3fb2095e2232ec94b59 [INFO] running `Command { std: "docker" "start" "-a" "e8763a3ff3348755916bbb203ed590568aaa0ada3cdce3fb2095e2232ec94b59", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.2 [INFO] [stderr] Checking noise v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `clap` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate clap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `clap` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate clap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/diamond_square.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/diamond_square.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init_2d` found for struct `diamond_square::SquareDiamondGrid1D` in the current scope [INFO] [stdout] --> src/diamond_square.rs:338:46 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SquareDiamondGrid1D { [INFO] [stdout] | ------------------------------ function or associated item `init_2d` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 338 | let noise = SquareDiamondGrid1D::init_2d(i,0.00000000000001,0.0,1.0,1.0); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `diamond_square::SquareDiamondGrid1D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/diamond_square.rs:341:50 [INFO] [stdout] | [INFO] [stdout] 341 | (1.0 - noise.get_value(vec![x])).abs() < 0.01; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `init_2d` found for struct `diamond_square::SquareDiamondGrid2D` in the current scope [INFO] [stdout] --> src/diamond_square.rs:346:46 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SquareDiamondGrid2D { [INFO] [stdout] | ------------------------------ function or associated item `init_2d` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 346 | let noise = SquareDiamondGrid2D::init_2d(i,0.00000000000001,0.0,1.0,1.0,1.0,1.0); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `diamond_square::SquareDiamondGrid2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/diamond_square.rs:350:56 [INFO] [stdout] | [INFO] [stdout] 350 | (1.0 - noise.get_value(vec![x,y])).abs() < 0.01; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/diamond_square.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | (_,_) => 0.0, [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/diamond_square.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 317 | (_,0) => 0.0, [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 318 | (SquareDiamondGrid::OneDimGrid(gradiant_grid_1d),_) => gradiant_grid_1d.gradiant_grid[index[0]], [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] 319 | (SquareDiamondGrid::TwoDimGrid(gradiant_grid_2d),1) => gradiant_grid_2d.gradiant_grid[index[0]][0], [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] 320 | (SquareDiamondGrid::TwoDimGrid(gradiant_grid_2d),_) => gradiant_grid_2d.gradiant_grid[index[0]][index[1]], [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 324 | (_,_) => 0.0, [INFO] [stdout] | ^^^^^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `noise` (bin "noise") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/diamond_square.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | (_,_) => 0.0, [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/diamond_square.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 317 | (_,0) => 0.0, [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] 318 | (SquareDiamondGrid::OneDimGrid(gradiant_grid_1d),_) => gradiant_grid_1d.gradiant_grid[index[0]], [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] 319 | (SquareDiamondGrid::TwoDimGrid(gradiant_grid_2d),1) => gradiant_grid_2d.gradiant_grid[index[0]][0], [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] 320 | (SquareDiamondGrid::TwoDimGrid(gradiant_grid_2d),_) => gradiant_grid_2d.gradiant_grid[index[0]][index[1]], [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 324 | (_,_) => 0.0, [INFO] [stdout] | ^^^^^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `noise` (bin "noise" test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e8763a3ff3348755916bbb203ed590568aaa0ada3cdce3fb2095e2232ec94b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8763a3ff3348755916bbb203ed590568aaa0ada3cdce3fb2095e2232ec94b59", kill_on_drop: false }` [INFO] [stdout] e8763a3ff3348755916bbb203ed590568aaa0ada3cdce3fb2095e2232ec94b59