[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] checking birchling/multi-otsu against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/birchling/multi-otsu on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cccba019c66aeac05e389cd8ac027b9eba596003031df8f3a9a2705a661294a9 [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" "cccba019c66aeac05e389cd8ac027b9eba596003031df8f3a9a2705a661294a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cccba019c66aeac05e389cd8ac027b9eba596003031df8f3a9a2705a661294a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cccba019c66aeac05e389cd8ac027b9eba596003031df8f3a9a2705a661294a9", kill_on_drop: false }` [INFO] [stdout] cccba019c66aeac05e389cd8ac027b9eba596003031df8f3a9a2705a661294a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aea652f31f68682f5d3206996a15956c766d8e92f8c0f090bff46978bf497be [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" "1aea652f31f68682f5d3206996a15956c766d8e92f8c0f090bff46978bf497be", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [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 num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking imageproc v0.19.2 [INFO] [stderr] Checking 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] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds` [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] 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] 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`, `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] 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] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds` [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`, `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] error: aborting due to 3 previous errors; 2 warnings emitted [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` [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: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1aea652f31f68682f5d3206996a15956c766d8e92f8c0f090bff46978bf497be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aea652f31f68682f5d3206996a15956c766d8e92f8c0f090bff46978bf497be", kill_on_drop: false }` [INFO] [stdout] 1aea652f31f68682f5d3206996a15956c766d8e92f8c0f090bff46978bf497be