[INFO] fetching crate text_on_image 0.1.0...
[INFO] testing text_on_image-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate text_on_image 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate text_on_image 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 70 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding getrandom v0.1.16 (latest: v0.2.15)
[INFO] [stderr]       Adding image v0.24.9 (latest: v0.25.1)
[INFO] [stderr]       Adding imageproc v0.23.0 (latest: v0.25.0)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr]       Adding nalgebra v0.30.1 (latest: v0.32.5)
[INFO] [stderr]       Adding owned_ttf_parser v0.15.2 (latest: v0.21.0)
[INFO] [stderr]       Adding rand v0.7.3 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.5.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_distr v0.2.2 (latest: v0.4.3)
[INFO] [stderr]       Adding rand_hc v0.2.0 (latest: v0.3.2)
[INFO] [stderr]       Adding simba v0.7.3 (latest: v0.8.1)
[INFO] [stderr]       Adding ttf-parser v0.15.2 (latest: v0.21.1)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded imageproc v0.23.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 930d3451ff1b4a3014222fcac72c7f8631f61734daa350b1146ec7f8ef1d51f2
[INFO] running `Command { std: "docker" "start" "-a" "930d3451ff1b4a3014222fcac72c7f8631f61734daa350b1146ec7f8ef1d51f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "930d3451ff1b4a3014222fcac72c7f8631f61734daa350b1146ec7f8ef1d51f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "930d3451ff1b4a3014222fcac72c7f8631f61734daa350b1146ec7f8ef1d51f2", kill_on_drop: false }`
[INFO] [stdout] 930d3451ff1b4a3014222fcac72c7f8631f61734daa350b1146ec7f8ef1d51f2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] faeaa6a6f3a4cfcd5a5f45d08789eddd09d641681fea21cedb9dca8b2de32b49
[INFO] running `Command { std: "docker" "start" "-a" "faeaa6a6f3a4cfcd5a5f45d08789eddd09d641681fea21cedb9dca8b2de32b49", kill_on_drop: false }`
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling bytemuck v1.16.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling num-bigint v0.4.5
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling wide v0.7.20
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling exr v1.72.0
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling simba v0.7.3
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling custom_derive v0.1.7
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling conv v0.3.3
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling rusttype v0.9.3
[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 24.49s
[INFO] running `Command { std: "docker" "inspect" "faeaa6a6f3a4cfcd5a5f45d08789eddd09d641681fea21cedb9dca8b2de32b49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faeaa6a6f3a4cfcd5a5f45d08789eddd09d641681fea21cedb9dca8b2de32b49", kill_on_drop: false }`
[INFO] [stdout] faeaa6a6f3a4cfcd5a5f45d08789eddd09d641681fea21cedb9dca8b2de32b49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 52c97e9a3443fa03ea846cac5d330903dd4cd4475ce71cfe4438caf25b914e43
[INFO] running `Command { std: "docker" "start" "-a" "52c97e9a3443fa03ea846cac5d330903dd4cd4475ce71cfe4438caf25b914e43", 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: `#[warn(dead_code)]` 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(()),
[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] 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(()),
[INFO] [stdout]   |                      ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s
[INFO] running `Command { std: "docker" "inspect" "52c97e9a3443fa03ea846cac5d330903dd4cd4475ce71cfe4438caf25b914e43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52c97e9a3443fa03ea846cac5d330903dd4cd4475ce71cfe4438caf25b914e43", kill_on_drop: false }`
[INFO] [stdout] 52c97e9a3443fa03ea846cac5d330903dd4cd4475ce71cfe4438caf25b914e43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1cc359cce2a2c50c1bc5a4d3a8dacd95527b755a6dd58ca97812e465b4af41a6
[INFO] running `Command { std: "docker" "start" "-a" "1cc359cce2a2c50c1bc5a4d3a8dacd95527b755a6dd58ca97812e465b4af41a6", 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: `#[warn(dead_code)]` 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(()),
[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] 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(()),
[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.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/text_on_image-ac1df90032a2d511)
[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.15s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "1cc359cce2a2c50c1bc5a4d3a8dacd95527b755a6dd58ca97812e465b4af41a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cc359cce2a2c50c1bc5a4d3a8dacd95527b755a6dd58ca97812e465b4af41a6", kill_on_drop: false }`
[INFO] [stdout] 1cc359cce2a2c50c1bc5a4d3a8dacd95527b755a6dd58ca97812e465b4af41a6
