[INFO] cloning repository https://github.com/firefox7025/ImageSorter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/firefox7025/ImageSorter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffirefox7025%2FImageSorter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffirefox7025%2FImageSorter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d551cd493613fd0acedda144da83bb53127af8e9 [INFO] testing firefox7025/ImageSorter against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffirefox7025%2FImageSorter" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/firefox7025/ImageSorter on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/firefox7025/ImageSorter [INFO] finished tweaking git repo https://github.com/firefox7025/ImageSorter [INFO] tweaked toml for git repo https://github.com/firefox7025/ImageSorter written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/firefox7025/ImageSorter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gif v0.10.0 [INFO] [stderr] Downloaded rayon v1.0.2 [INFO] [stderr] Downloaded img_hash v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0711a4f8159a96e1bcf53964e7e48f6ca063dbe34808c9bb34d41132c26d53fa [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" "0711a4f8159a96e1bcf53964e7e48f6ca063dbe34808c9bb34d41132c26d53fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0711a4f8159a96e1bcf53964e7e48f6ca063dbe34808c9bb34d41132c26d53fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0711a4f8159a96e1bcf53964e7e48f6ca063dbe34808c9bb34d41132c26d53fa", kill_on_drop: false }` [INFO] [stdout] 0711a4f8159a96e1bcf53964e7e48f6ca063dbe34808c9bb34d41132c26d53fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 49047f08ee778aca01cbd035e0d8332af74cc98828a5e4d19952b8a0da1a8293 [INFO] running `Command { std: "docker" "start" "-a" "49047f08ee778aca01cbd035e0d8332af74cc98828a5e4d19952b8a0da1a8293", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling termcolor v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling env_logger v0.5.12 [INFO] [stderr] Compiling pretty_env_logger v0.2.4 [INFO] [stderr] Compiling img_hash v2.1.0 [INFO] [stderr] Compiling image_sorter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | .min_by_key(|(x, y)| hashimages::image_diff(val, y)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist_ratio` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let dist_ratio = matches.value_of("Similarity").unwrap_or("20"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `output_directory` is assigned to, but never used [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let output_directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_output_directory` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output_directory` is never read [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | output_directory = path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.14s [INFO] running `Command { std: "docker" "inspect" "49047f08ee778aca01cbd035e0d8332af74cc98828a5e4d19952b8a0da1a8293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49047f08ee778aca01cbd035e0d8332af74cc98828a5e4d19952b8a0da1a8293", kill_on_drop: false }` [INFO] [stdout] 49047f08ee778aca01cbd035e0d8332af74cc98828a5e4d19952b8a0da1a8293 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fda506897f6c4773d1f07bb9751988020213e6387a2d69fc6f5f23ad81198c2 [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" "2fda506897f6c4773d1f07bb9751988020213e6387a2d69fc6f5f23ad81198c2", kill_on_drop: false }` [INFO] [stderr] Compiling image_sorter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | .min_by_key(|(x, y)| hashimages::image_diff(val, y)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist_ratio` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let dist_ratio = matches.value_of("Similarity").unwrap_or("20"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `output_directory` is assigned to, but never used [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let output_directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_output_directory` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output_directory` is never read [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | output_directory = path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "2fda506897f6c4773d1f07bb9751988020213e6387a2d69fc6f5f23ad81198c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fda506897f6c4773d1f07bb9751988020213e6387a2d69fc6f5f23ad81198c2", kill_on_drop: false }` [INFO] [stdout] 2fda506897f6c4773d1f07bb9751988020213e6387a2d69fc6f5f23ad81198c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca123a5ff542709a21c97762bb3df1df8dee0f45166c158c63c3d5d999c1b57a [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" "ca123a5ff542709a21c97762bb3df1df8dee0f45166c158c63c3d5d999c1b57a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:109:27 [INFO] [stderr] | [INFO] [stderr] 109 | .min_by_key(|(x, y)| hashimages::image_diff(val, y)).unwrap(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `dist_ratio` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:55:9 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 55 | let dist_ratio = matches.value_of("Similarity").unwrap_or("20"); [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dist_ratio` [INFO] [stderr] [INFO] [stderr] warning: variable `output_directory` is assigned to, but never used [INFO] [stderr] --> src/main.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | let output_directory; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_output_directory` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `output_directory` is never read [INFO] [stderr] --> src/main.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | output_directory = path; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/image_sorter-397c9d0cfc6afc4a) [INFO] running `Command { std: "docker" "inspect" "ca123a5ff542709a21c97762bb3df1df8dee0f45166c158c63c3d5d999c1b57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca123a5ff542709a21c97762bb3df1df8dee0f45166c158c63c3d5d999c1b57a", kill_on_drop: false }` [INFO] [stdout] ca123a5ff542709a21c97762bb3df1df8dee0f45166c158c63c3d5d999c1b57a