[INFO] cloning repository https://github.com/birchling/multi-otsu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/birchling/multi-otsu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0349784df2784ea107b5c1c0021d260a55ec045f [INFO] testing birchling/multi-otsu against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/birchling/multi-otsu on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/birchling/multi-otsu [INFO] finished tweaking git repo https://github.com/birchling/multi-otsu [INFO] tweaked toml for git repo https://github.com/birchling/multi-otsu written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/birchling/multi-otsu 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.15.2 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] [stderr] Downloaded imageproc v0.19.2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65ff25dd6a572b9ce433d0e91fc8c317784a295cd80abd2a8586c27014db8f20 [INFO] running `Command { std: "docker" "start" "-a" "65ff25dd6a572b9ce433d0e91fc8c317784a295cd80abd2a8586c27014db8f20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65ff25dd6a572b9ce433d0e91fc8c317784a295cd80abd2a8586c27014db8f20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65ff25dd6a572b9ce433d0e91fc8c317784a295cd80abd2a8586c27014db8f20", kill_on_drop: false }` [INFO] [stdout] 65ff25dd6a572b9ce433d0e91fc8c317784a295cd80abd2a8586c27014db8f20 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cac11400c02d4cbd3cb379bdcf27649bb46d10fbe52d08591f3bf34bf578f59c [INFO] running `Command { std: "docker" "start" "-a" "cac11400c02d4cbd3cb379bdcf27649bb46d10fbe52d08591f3bf34bf578f59c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling png v0.15.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling imageproc v0.19.2 [INFO] [stderr] Compiling multi-otsu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `histogram` in this scope [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let hist = histogram(image); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use imageproc::stats::histogram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `best_threshold` in this scope [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | best_threshold = threshold as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 | best_thresholds = threshold as u8; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 56 | let best_threshold = threshold as u8; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `best_threshold` in this scope [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | best_threshold [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Luma` [INFO] [stdout] --> src/main.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{open, GrayImage, Luma}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `otsu_level` and `threshold` [INFO] [stdout] --> src/main.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use imageproc::contrast::{otsu_level, threshold}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | fn otsu(input: &GrayImage) -> u8 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_image` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let input_image = open(input_path) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multi-otsu` (bin "multi-otsu") due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cac11400c02d4cbd3cb379bdcf27649bb46d10fbe52d08591f3bf34bf578f59c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac11400c02d4cbd3cb379bdcf27649bb46d10fbe52d08591f3bf34bf578f59c", kill_on_drop: false }` [INFO] [stdout] cac11400c02d4cbd3cb379bdcf27649bb46d10fbe52d08591f3bf34bf578f59c