[INFO] fetching crate text_on_image 0.1.0... [INFO] testing text_on_image-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate text_on_image 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate text_on_image 0.1.0 [INFO] finished tweaking crates.io crate text_on_image 0.1.0 [INFO] tweaked toml for crates.io crate text_on_image 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate text_on_image 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding image v0.24.9 (available: v0.25.7) [INFO] [stderr] Adding imageproc v0.23.0 (available: v0.25.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8ec0413ff08df0ea994883917e92afa1f62132c09fbcd2746a3601bef844c95 [INFO] running `Command { std: "docker" "start" "-a" "b8ec0413ff08df0ea994883917e92afa1f62132c09fbcd2746a3601bef844c95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8ec0413ff08df0ea994883917e92afa1f62132c09fbcd2746a3601bef844c95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ec0413ff08df0ea994883917e92afa1f62132c09fbcd2746a3601bef844c95", kill_on_drop: false }` [INFO] [stdout] b8ec0413ff08df0ea994883917e92afa1f62132c09fbcd2746a3601bef844c95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c19b7a1d570dc281005ff10bdbc7b17d87d5ce5e3cdd141bbf6ed112ccedd3f [INFO] running `Command { std: "docker" "start" "-a" "3c19b7a1d570dc281005ff10bdbc7b17d87d5ce5e3cdd141bbf6ed112ccedd3f", kill_on_drop: false }` [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling imageproc v0.23.0 [INFO] [stderr] Compiling text_on_image v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.22s [INFO] running `Command { std: "docker" "inspect" "3c19b7a1d570dc281005ff10bdbc7b17d87d5ce5e3cdd141bbf6ed112ccedd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c19b7a1d570dc281005ff10bdbc7b17d87d5ce5e3cdd141bbf6ed112ccedd3f", kill_on_drop: false }` [INFO] [stdout] 3c19b7a1d570dc281005ff10bdbc7b17d87d5ce5e3cdd141bbf6ed112ccedd3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fe9973cf6733d8560bf101872e7737e9193e29f4938626526fc6113a436c289 [INFO] running `Command { std: "docker" "start" "-a" "2fe9973cf6733d8560bf101872e7737e9193e29f4938626526fc6113a436c289", kill_on_drop: false }` [INFO] [stderr] Compiling text_on_image v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/test.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | ImageOpeningError(ImageError), [INFO] [stdout] | ----------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PossibleErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - ImageOpeningError(ImageError), [INFO] [stdout] 7 + ImageOpeningError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/test.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | ImageSaveFailure(ImageError), [INFO] [stdout] | ---------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PossibleErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - ImageSaveFailure(ImageError), [INFO] [stdout] 8 + ImageSaveFailure(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "2fe9973cf6733d8560bf101872e7737e9193e29f4938626526fc6113a436c289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fe9973cf6733d8560bf101872e7737e9193e29f4938626526fc6113a436c289", kill_on_drop: false }` [INFO] [stdout] 2fe9973cf6733d8560bf101872e7737e9193e29f4938626526fc6113a436c289 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ede39d08d535093a306fafee5f51e9fe7b5c725cc63a5e63d7420ce1c90839e7 [INFO] running `Command { std: "docker" "start" "-a" "ede39d08d535093a306fafee5f51e9fe7b5c725cc63a5e63d7420ce1c90839e7", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/test.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | ImageOpeningError(ImageError), [INFO] [stderr] | ----------------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `PossibleErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 7 - ImageOpeningError(ImageError), [INFO] [stderr] 7 + ImageOpeningError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/test.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | ImageSaveFailure(ImageError), [INFO] [stderr] | ---------------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `PossibleErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 8 - ImageSaveFailure(ImageError), [INFO] [stderr] 8 + ImageSaveFailure(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `text_on_image` (lib test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/text_on_image-0e27addec9277cbb) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test::test_negative_scale - should panic ... ok [INFO] [stdout] test test::test_example_text ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_example_text stdout ---- [INFO] [stdout] " This" has width 103. Compare to max_width 250 [INFO] [stdout] Word This gets added to line [INFO] [stdout] "This is" has width 144. Compare to max_width 250 [INFO] [stdout] Word is gets added to line [INFO] [stdout] "This is Line" has width 248. Compare to max_width 250 [INFO] [stdout] Word Line gets added to line [INFO] [stdout] "This is Line 1" has width 289. Compare to max_width 250 [INFO] [stdout] Word 1 goes over max width && buffer is not empty. [INFO] [stdout] " Thisislinewithextralongtextthatneedsto" has width 806. Compare to max_width 250 [INFO] [stdout] "to wrap" has width 144. Compare to max_width 250 [INFO] [stdout] Word wrap gets added to line [INFO] [stdout] "to wrap 2" has width 186. Compare to max_width 250 [INFO] [stdout] Word 2 gets added to line [INFO] [stdout] Lines altered: [INFO] [stdout] ["This is Line", "1", "Thisislinewi-", "thextralongt-", "extthatneeds-", "to wrap 2"] [INFO] [stdout] This is Line width: 248 [INFO] [stdout] pixels_from_left for line This is Line: 400 [INFO] [stdout] 1 width: 20 [INFO] [stdout] pixels_from_left for line 1: 400 [INFO] [stdout] Thisislinewi- width: 268 [INFO] [stdout] pixels_from_left for line Thisislinewi-: 400 [INFO] [stdout] thextralongt- width: 268 [INFO] [stdout] pixels_from_left for line thextralongt-: 400 [INFO] [stdout] extthatneeds- width: 268 [INFO] [stdout] pixels_from_left for line extthatneeds-: 400 [INFO] [stdout] to wrap 2 width: 186 [INFO] [stdout] pixels_from_left for line to wrap 2: 400 [INFO] [stdout] Error: ImageSaveFailure(IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" })) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_example_text [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "ede39d08d535093a306fafee5f51e9fe7b5c725cc63a5e63d7420ce1c90839e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ede39d08d535093a306fafee5f51e9fe7b5c725cc63a5e63d7420ce1c90839e7", kill_on_drop: false }` [INFO] [stdout] ede39d08d535093a306fafee5f51e9fe7b5c725cc63a5e63d7420ce1c90839e7