[INFO] fetching crate image-compare 0.2.4... [INFO] testing image-compare-0.2.4 against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] extracting crate image-compare 0.2.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate image-compare 0.2.4 on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate image-compare 0.2.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate image-compare 0.2.4 [INFO] tweaked toml for crates.io crate image-compare 0.2.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d9a92a97b12edb20a07fa93eef8d293c3e1753ffada88d98dbcb56c993ad357 [INFO] running `Command { std: "docker" "start" "-a" "6d9a92a97b12edb20a07fa93eef8d293c3e1753ffada88d98dbcb56c993ad357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d9a92a97b12edb20a07fa93eef8d293c3e1753ffada88d98dbcb56c993ad357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9a92a97b12edb20a07fa93eef8d293c3e1753ffada88d98dbcb56c993ad357", kill_on_drop: false }` [INFO] [stdout] 6d9a92a97b12edb20a07fa93eef8d293c3e1753ffada88d98dbcb56c993ad357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f71ccee72ccd185857a93e80aff8235c339bcd1b73d75a2d7b39206241c77c9 [INFO] running `Command { std: "docker" "start" "-a" "3f71ccee72ccd185857a93e80aff8235c339bcd1b73d75a2d7b39206241c77c9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.13.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.5.2 [INFO] [stderr] Compiling image v0.24.5 [INFO] [stderr] Compiling image-compare v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "3f71ccee72ccd185857a93e80aff8235c339bcd1b73d75a2d7b39206241c77c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f71ccee72ccd185857a93e80aff8235c339bcd1b73d75a2d7b39206241c77c9", kill_on_drop: false }` [INFO] [stdout] 3f71ccee72ccd185857a93e80aff8235c339bcd1b73d75a2d7b39206241c77c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ebb85f1b0c00feefa0aee2f0334fe5609ef8c7407a36b28cb55f51cf6e9065b [INFO] running `Command { std: "docker" "start" "-a" "3ebb85f1b0c00feefa0aee2f0334fe5609ef8c7407a36b28cb55f51cf6e9065b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling async-trait v0.1.62 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap_lex v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling bstr v1.1.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling console v0.15.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling globset v0.4.10 [INFO] [stderr] Compiling ignore v0.4.20 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling nom_locate v4.1.0 [INFO] [stderr] Compiling terminal_size v0.2.3 [INFO] [stderr] Compiling peg v0.6.3 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling sealed v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling ghost v0.1.7 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling clap_derive v4.1.0 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling sealed v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling synthez-core v0.2.0 [INFO] [stderr] Compiling inventory v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling synthez-codegen v0.2.0 [INFO] [stderr] Compiling exr v1.5.2 [INFO] [stderr] Compiling clap v4.1.1 [INFO] [stderr] Compiling synthez v0.2.0 [INFO] [stderr] Compiling cucumber-expressions v0.2.1 [INFO] [stderr] Compiling image v0.24.5 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling cucumber-codegen v0.19.1 [INFO] [stderr] Compiling image-compare v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling gherkin v0.13.0 [INFO] [stderr] Compiling cucumber v0.19.1 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5m 59s [INFO] running `Command { std: "docker" "inspect" "3ebb85f1b0c00feefa0aee2f0334fe5609ef8c7407a36b28cb55f51cf6e9065b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ebb85f1b0c00feefa0aee2f0334fe5609ef8c7407a36b28cb55f51cf6e9065b", kill_on_drop: false }` [INFO] [stdout] 3ebb85f1b0c00feefa0aee2f0334fe5609ef8c7407a36b28cb55f51cf6e9065b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74c0b909d40f63cb0f31acb8e4eadae5a17956859f6542c4288edc4d7f66bf91 [INFO] running `Command { std: "docker" "start" "-a" "74c0b909d40f63cb0f31acb8e4eadae5a17956859f6542c4288edc4d7f66bf91", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/image_compare-334d11934f5442ef) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test histogram::tests::correlation_zero_variance ... ok [INFO] [stdout] test histogram::tests::correlation_simple ... ok [INFO] [stdout] test histogram::tests::hellinger_tests ... ok [INFO] [stdout] test histogram::tests::chi_square_edge_cases ... ok [INFO] [stdout] test histogram::tests::chi_square_simple ... ok [INFO] [stdout] test ssim::tests::conv_avg_simple ... ok [INFO] [stdout] test squared_error::tests::rms_simple_identity ... ok [INFO] [stdout] test ssim::tests::test_ssim_different_mean ... ok [INFO] [stdout] test tests::dimensions_differ_test_rgb_structure ... ok [INFO] [stdout] test utils::tests::window_test_edge ... ok [INFO] [stdout] test squared_error::tests::rms_simple_max ... ok [INFO] [stdout] test ssim::tests::conv_avg_identity ... ok [INFO] [stdout] test utils::tests::yuv_to_rgb_test ... ok [INFO] [stdout] test ssim::tests::test_ssim_stability ... ok [INFO] [stdout] test ssim::tests::test_variance ... ok [INFO] [stdout] test utils::tests::window_iterator_test ... ok [INFO] [stdout] test utils::tests::rgb_to_yuv_test ... ok [INFO] [stdout] test utils::tests::window_test ... ok [INFO] [stdout] test ssim::tests::test_ssim_identity ... ok [INFO] [stdout] test utils::tests::window_subdivide_test ... ok [INFO] [stdout] test tests::dimensions_differ_test_gray_histos ... ok [INFO] [stdout] test utils::tests::from_image_test ... ok [INFO] [stdout] test squared_error::tests::rms_simple_10 ... ok [INFO] [stdout] test histogram::tests::intersection_simple ... ok [INFO] [stdout] test tests::dimensions_differ_test_gray_structure ... ok [INFO] [stdout] test squared_error::tests::rms_simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/compare.rs (/opt/rustwide/target/debug/deps/compare-241b45ac51dc1d11) [INFO] [stdout] Feature: Gray image comparison using MSSIM and RMS [INFO] [stdout] Scenario Outline: Comparing a modified image to the original using RMS algorithm [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:4:5 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario Outline: Comparing a modified image to the original using RMS algorithm [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao_lighter.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:4:5 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario Outline: Comparing a modified image to the original using RMS algorithm [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao_noise.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:4:5 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario Outline: Comparing a modified image to the original using RMS algorithm [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao_gray_inverted.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:4:5 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario Outline: Comparing a modified image to the original using RMS algorithm [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao_color_filters.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:4:5 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario Outline: Comparing a modified image to the original using MSSIM algorithm [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:17:5 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario Outline: Comparing a modified image to the original using MSSIM algorithm [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao_lighter.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:17:5 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario Outline: Comparing a modified image to the original using MSSIM algorithm [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao_noise.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:17:5 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario Outline: Comparing a modified image to the original using MSSIM algorithm [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao_gray_inverted.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:17:5 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario Outline: Comparing a modified image to the original using MSSIM algorithm [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao_color_filters.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:17:5 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario: Comparing an image to the original with RMS and checking the difference image [INFO] [stderr] thread 'main' panicked at '12 steps failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cucumber-0.19.1/src/cucumber.rs:1294:13 [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao_broken.png' are loaded [INFO] [stderr] stack backtrace: [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:30:7 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] Scenario: Comparing an image to the original with MSSIM and checking the difference image [INFO] [stdout] ✘ Given the images 'tests/data/pad_gaprao.png' and 'tests/data/pad_gaprao_broken.png' are loaded [INFO] [stdout] Step failed: [INFO] [stdout] Defined: tests/features/structure_gray.feature:35:7 [INFO] [stdout] Matched: tests/compare.rs:16:1 [INFO] [stdout] Step panicked. Captured output: Could not find test-image: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] [Summary] [INFO] [stdout] 1 feature [INFO] [stdout] 12 scenarios (12 failed) [INFO] [stdout] 12 steps (12 failed) [INFO] [stderr] 0: 0x555ae92e9e8a - std::backtrace_rs::backtrace::libunwind::trace::he494f4174c7b193d [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x555ae92e9e8a - std::backtrace_rs::backtrace::trace_unsynchronized::h576ffc8be8cf606d [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x555ae92e9e8a - std::sys_common::backtrace::_print_fmt::h785643da434656fb [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stderr] 3: 0x555ae92e9e8a - ::fmt::h9b4bec46148aa515 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x555ae930c38e - core::fmt::write::h9b2447b2a0bad8cd [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/fmt/mod.rs:1213:17 [INFO] [stderr] 5: 0x555ae92e7275 - std::io::Write::write_fmt::h9e12a05412dc8e9e [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/io/mod.rs:1682:15 [INFO] [stderr] 6: 0x555ae92e9c55 - std::sys_common::backtrace::_print::hb761e44df96032bf [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 7: 0x555ae92e9c55 - std::sys_common::backtrace::print::h38eae7c422ff66f6 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 8: 0x555ae92eb78f - std::panicking::default_hook::{{closure}}::h54755764573e4b37 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:267:22 [INFO] [stderr] 9: 0x555ae92eb4cb - std::panicking::default_hook::h978c28978503d61b [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:286:9 [INFO] [stderr] 10: 0x555ae92ebeba - as core::ops::function::Fn>::call::hf7b5b3aa2a34e491 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/alloc/src/boxed.rs:2002:9 [INFO] [stderr] 11: 0x555ae92ebeba - std::panicking::rust_panic_with_hook::h334ed9b3cc817783 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:692:13 [INFO] [stderr] 12: 0x555ae92ebc39 - std::panicking::begin_panic_handler::{{closure}}::h2ab7fcc83540cf23 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:579:13 [INFO] [stderr] 13: 0x555ae92ea33c - std::sys_common::backtrace::__rust_end_short_backtrace::h65758a09a74021a8 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stderr] 14: 0x555ae92eb942 - rust_begin_unwind [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:575:5 [INFO] [stderr] 15: 0x555ae8fe7873 - core::panicking::panic_fmt::h157cca2ea8c38d2f [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panicking.rs:64:14 [INFO] [stderr] 16: 0x555ae904eb98 - core::panicking::panic_display::h9fdb2a800bafbdaf [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/panicking.rs:147:5 [INFO] [stderr] 17: 0x555ae9050ea5 - cucumber::cucumber::Cucumber::filter_run_and_exit::{{closure}}::h9ddddb62d2498ea3 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cucumber-0.19.1/src/cucumber.rs:1294:13 [INFO] [stderr] 18: 0x555ae9050ea5 - cucumber::cucumber::Cucumber::run_and_exit::{{closure}}::h26d66b49e7c17854 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cucumber-0.19.1/src/cucumber.rs:1201:56 [INFO] [stderr] 19: 0x555ae9050ea5 - cucumber::World::run::{{closure}}::h55439593b074086a [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cucumber-0.19.1/src/lib.rs:258:45 [INFO] [stderr] 20: 0x555ae902fa72 - as core::future::future::Future>::poll::h6f906fb6c57bd148 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/future/future.rs:125:9 [INFO] [stderr] 21: 0x555ae902fa72 - compare::main::{{closure}}::h5c4490ea02526aef [INFO] [stderr] at /opt/rustwide/workdir/tests/compare.rs:154:63 [INFO] [stderr] 22: 0x555ae902fa72 - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::hd4eb0e33d53bd2f5 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/runtime/park.rs:283:63 [INFO] [stderr] 23: 0x555ae902fa72 - tokio::runtime::coop::with_budget::h6c6ee9b75a22d0dd [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/runtime/coop.rs:102:5 [INFO] [stderr] 24: 0x555ae902fa72 - tokio::runtime::coop::budget::h9bfaf6c7dd8b27db [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/runtime/coop.rs:68:5 [INFO] [stderr] 25: 0x555ae902fa72 - tokio::runtime::park::CachedParkThread::block_on::h81237833c183df3d [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/runtime/park.rs:283:31 [INFO] [stderr] 26: 0x555ae8ff39f8 - tokio::runtime::context::BlockingRegionGuard::block_on::heb6307c06f13173f [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/runtime/context.rs:315:13 [INFO] [stderr] 27: 0x555ae8ff39f8 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h6ed5bb3b3c037008 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/runtime/scheduler/multi_thread/mod.rs:66:9 [INFO] [stderr] 28: 0x555ae900540b - tokio::runtime::runtime::Runtime::block_on::hdd11536c4e36466b [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.24.2/src/runtime/runtime.rs:284:45 [INFO] [stderr] 29: 0x555ae9054cf4 - compare::main::h8385e0e5236d9ecf [INFO] [stderr] at /opt/rustwide/workdir/tests/compare.rs:157:5 [INFO] [stderr] 30: 0x555ae900f0c3 - core::ops::function::FnOnce::call_once::he69a5c930ad47d8a [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 31: 0x555ae900f0c3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7d9c2890d89769d8 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stderr] 32: 0x555ae90013d9 - std::rt::lang_start::{{closure}}::hc40be24138a23e8a [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/rt.rs:166:18 [INFO] [stderr] 33: 0x555ae92e2b3c - core::ops::function::impls:: for &F>::call_once::hddfb5eebb2a60a90 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/core/src/ops/function.rs:287:13 [INFO] [stderr] 34: 0x555ae92e2b3c - std::panicking::try::do_call::h8da6e6788dd7e256 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:483:40 [INFO] [stderr] 35: 0x555ae92e2b3c - std::panicking::try::hfe8f6ceeb2fd9878 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:447:19 [INFO] [stderr] 36: 0x555ae92e2b3c - std::panic::catch_unwind::h93e8ca81aa943518 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panic.rs:140:14 [INFO] [stderr] 37: 0x555ae92e2b3c - std::rt::lang_start_internal::{{closure}}::he7cba38e2bfab4d0 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/rt.rs:148:48 [INFO] [stderr] 38: 0x555ae92e2b3c - std::panicking::try::do_call::h54880340d8d2d795 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:483:40 [INFO] [stderr] 39: 0x555ae92e2b3c - std::panicking::try::h801da4ef639f4447 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panicking.rs:447:19 [INFO] [stderr] 40: 0x555ae92e2b3c - std::panic::catch_unwind::hd2ccadef83309bbf [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/panic.rs:140:14 [INFO] [stderr] 41: 0x555ae92e2b3c - std::rt::lang_start_internal::h79e3b67e2c69df40 [INFO] [stderr] at /rustc/613d1972a772987ed4ee06faccbab0e2fc839871/library/std/src/rt.rs:148:20 [INFO] [stderr] 42: 0x555ae9054ddc - main [INFO] [stderr] 43: 0x7f67bd0d8d90 - [INFO] [stderr] 44: 0x7f67bd0d8e40 - __libc_start_main [INFO] [stderr] 45: 0x555ae8fe7ff5 - _start [INFO] [stderr] 46: 0x0 - [INFO] [stderr] error: test failed, to rerun pass `--test compare` [INFO] running `Command { std: "docker" "inspect" "74c0b909d40f63cb0f31acb8e4eadae5a17956859f6542c4288edc4d7f66bf91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c0b909d40f63cb0f31acb8e4eadae5a17956859f6542c4288edc4d7f66bf91", kill_on_drop: false }` [INFO] [stdout] 74c0b909d40f63cb0f31acb8e4eadae5a17956859f6542c4288edc4d7f66bf91