[INFO] cloning repository https://github.com/SimonInman/rust-shan-shui
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SimonInman/rust-shan-shui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimonInman%2Frust-shan-shui", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimonInman%2Frust-shan-shui'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2ce8b30a9fdaa66702f4e6ab3ffef08e7f05684
[INFO] testing SimonInman/rust-shan-shui against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimonInman%2Frust-shan-shui" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/SimonInman/rust-shan-shui on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/SimonInman/rust-shan-shui
[INFO] finished tweaking git repo https://github.com/SimonInman/rust-shan-shui
[INFO] tweaked toml for git repo https://github.com/SimonInman/rust-shan-shui written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/SimonInman/rust-shan-shui 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded svg v0.5.12
[INFO] [stderr]   Downloaded draw v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 22730af3233e6e5c8dcd5b2015d00f81a4e0440f7c95d5f369b331b2cedb01d5
[INFO] running `Command { std: "docker" "start" "-a" "22730af3233e6e5c8dcd5b2015d00f81a4e0440f7c95d5f369b331b2cedb01d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22730af3233e6e5c8dcd5b2015d00f81a4e0440f7c95d5f369b331b2cedb01d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22730af3233e6e5c8dcd5b2015d00f81a4e0440f7c95d5f369b331b2cedb01d5", kill_on_drop: false }`
[INFO] [stdout] 22730af3233e6e5c8dcd5b2015d00f81a4e0440f7c95d5f369b331b2cedb01d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8eac4cd58e77cd1c11ac7ca54cfbcbc71052c1f5da2e171f3a99758e50ce2fee
[INFO] running `Command { std: "docker" "start" "-a" "8eac4cd58e77cd1c11ac7ca54cfbcbc71052c1f5da2e171f3a99758e50ce2fee", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling bytemuck v1.7.3
[INFO] [stderr]    Compiling weezl v0.1.5
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling gif v0.11.3
[INFO] [stderr]    Compiling rgb v0.8.31
[INFO] [stderr]    Compiling svg v0.5.12
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling rand_xorshift v0.2.0
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling draw v0.3.0
[INFO] [stderr]    Compiling noise v0.7.0
[INFO] [stderr]    Compiling drawing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `colour` in this scope
[INFO] [stdout]   --> src/texture.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         colour, 
[INFO] [stdout]    |         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dis` in this scope
[INFO] [stdout]   --> src/texture.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         dis);
[INFO] [stdout]    |         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::default`
[INFO] [stdout]  --> src/texture.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::default;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Style`
[INFO] [stdout]  --> src/texture.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use draw::{Drawing, Style, RGB};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/texture.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 |     if (rng.gen::<f64>() > 0.5) {
[INFO] [stdout]    |        ^                      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -     if (rng.gen::<f64>() > 0.5) {
[INFO] [stdout] 55 +     if rng.gen::<f64>() > 0.5 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]   --> src/texture.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     return texture(points, 
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |         0, 0, 
[INFO] [stdout]    |         -  - expected `bool`, found integer
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected `f64`, found integer
[INFO] [stdout]    |         help: use a float literal: `0.0`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/texture.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn texture(
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 64 |     points: Vec<Vec<(f64, f64)>>,
[INFO] [stdout]    |     ----------------------------
[INFO] [stdout] 65 |     x_offset:f64,
[INFO] [stdout]    |     ------------
[INFO] [stdout] 66 |     y_offset:f64,
[INFO] [stdout]    |     ------------
[INFO] [stdout] 67 |     tex: usize,
[INFO] [stdout]    |     ----------
[INFO] [stdout] 68 |     width: f64,
[INFO] [stdout]    |     ----------
[INFO] [stdout] 69 |     length: f64,
[INFO] [stdout]    |     -----------
[INFO] [stdout] 70 |     sha: f64,
[INFO] [stdout]    |     --------
[INFO] [stdout] 71 |     ret: bool,
[INFO] [stdout]    |     ---------
[INFO] [stdout] 72 |     noise: fn(f64) -> f64,
[INFO] [stdout]    |     ---------------------
[INFO] [stdout] 73 |     colour: fn(f64) -> RGB,
[INFO] [stdout]    |     ----------------------
[INFO] [stdout] 74 |     dis: fn() -> f64,
[INFO] [stdout]    |     ----------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `gen` on type `ThreadRng`
[INFO] [stdout]   --> src/texture.rs:58:27
[INFO] [stdout]    |
[INFO] [stdout] 58 |         return (2.0 + rng.gen) / 3.0;
[INFO] [stdout]    |                           ^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 58 |         return (2.0 + rng.gen()) / 3.0;
[INFO] [stdout]    |                              ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/texture.rs:75:6
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn texture(
[INFO] [stdout]    |        ------- implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 75 | ) -> Vec<Drawing> {
[INFO] [stdout]    |      ^^^^^^^^^^^^ expected `Vec<Drawing>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<draw::Drawing>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `drawing` (bin "drawing") due to 6 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8eac4cd58e77cd1c11ac7ca54cfbcbc71052c1f5da2e171f3a99758e50ce2fee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8eac4cd58e77cd1c11ac7ca54cfbcbc71052c1f5da2e171f3a99758e50ce2fee", kill_on_drop: false }`
[INFO] [stdout] 8eac4cd58e77cd1c11ac7ca54cfbcbc71052c1f5da2e171f3a99758e50ce2fee
