[INFO] fetching crate tesseract 0.6.0... [INFO] checking tesseract-0.6.0 against try#353a0a223066e9f46a1d935f2271a26c3c5002bb for pr-75180 [INFO] extracting crate tesseract 0.6.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate tesseract 0.6.0 on toolchain 353a0a223066e9f46a1d935f2271a26c3c5002bb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tesseract 0.6.0 [INFO] finished tweaking crates.io crate tesseract 0.6.0 [INFO] tweaked toml for crates.io crate tesseract 0.6.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eec8d1e1ccdef43e48bf9c66b9e556d590e08076c62f12e035f501970065feb0 [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" "eec8d1e1ccdef43e48bf9c66b9e556d590e08076c62f12e035f501970065feb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eec8d1e1ccdef43e48bf9c66b9e556d590e08076c62f12e035f501970065feb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec8d1e1ccdef43e48bf9c66b9e556d590e08076c62f12e035f501970065feb0", kill_on_drop: false }` [INFO] [stdout] eec8d1e1ccdef43e48bf9c66b9e556d590e08076c62f12e035f501970065feb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "check" "--frozen" "--all" "--all-targets" "--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] c10d66b80981533c3beca498fddfcb106a30a60212f1a9943207b18b92da111b [INFO] running `Command { std: "docker" "start" "-a" "c10d66b80981533c3beca498fddfcb106a30a60212f1a9943207b18b92da111b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Compiling leptonica-sys v0.3.2 [INFO] [stderr] Compiling tesseract-sys v0.5.3 [INFO] [stderr] Checking tesseract v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/plumbing/pix.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | let ptr = unsafe { pixReadMem(img.as_ptr(), img.len()) }; [INFO] [stdout] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 51 | let ptr = unsafe { pixReadMem(img.as_ptr(), img.len().try_into().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tesseract`. [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[E0308]: mismatched types [INFO] [stdout] --> src/plumbing/pix.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | let ptr = unsafe { pixReadMem(img.as_ptr(), img.len()) }; [INFO] [stdout] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 51 | let ptr = unsafe { pixReadMem(img.as_ptr(), img.len().try_into().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c10d66b80981533c3beca498fddfcb106a30a60212f1a9943207b18b92da111b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c10d66b80981533c3beca498fddfcb106a30a60212f1a9943207b18b92da111b", kill_on_drop: false }` [INFO] [stdout] c10d66b80981533c3beca498fddfcb106a30a60212f1a9943207b18b92da111b