[INFO] fetching crate tesseract-plumbing 0.1.0... [INFO] checking tesseract-plumbing-0.1.0 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate tesseract-plumbing 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate tesseract-plumbing 0.1.0 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tesseract-plumbing 0.1.0 [INFO] finished tweaking crates.io crate tesseract-plumbing 0.1.0 [INFO] tweaked toml for crates.io crate tesseract-plumbing 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tesseract-sys v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", 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] 89b353c8a995f0b633fcc8699fda49ac9f520036e8ce6b8399ca94b5c6c1b90d [INFO] running `Command { std: "docker" "start" "-a" "89b353c8a995f0b633fcc8699fda49ac9f520036e8ce6b8399ca94b5c6c1b90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89b353c8a995f0b633fcc8699fda49ac9f520036e8ce6b8399ca94b5c6c1b90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b353c8a995f0b633fcc8699fda49ac9f520036e8ce6b8399ca94b5c6c1b90d", kill_on_drop: false }` [INFO] [stdout] 89b353c8a995f0b633fcc8699fda49ac9f520036e8ce6b8399ca94b5c6c1b90d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1cb9689aff75cac9a52d0d5a56cdddbe80d92c6b442493bf07ae85fb58c59e3 [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" "a1cb9689aff75cac9a52d0d5a56cdddbe80d92c6b442493bf07ae85fb58c59e3", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling leptonica-sys v0.3.2 [INFO] [stderr] Compiling tesseract-sys v0.5.3 [INFO] [stderr] Checking tesseract-plumbing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | 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] 48 | 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] [stdout] error: couldn't read src/../../img.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | Ok(include_str!("../../img.txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../img.tiff: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | include_bytes!("../../img.tiff"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../img.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | Ok(include_str!("../../img.txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../img.tiff: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:250:29 [INFO] [stdout] | [INFO] [stdout] 250 | let pix = Pix::read_mem(include_bytes!("../../img.tiff")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../img.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | Ok(include_str!("../../img.txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../img.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | Ok(include_str!("../../img.txt")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../../img.tiff: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:283:29 [INFO] [stdout] | [INFO] [stdout] 283 | let pix = Pix::read_mem(include_bytes!("../../img.tiff")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tesseract-plumbing`. [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/lib.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | 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] 48 | let ptr = unsafe { pixReadMem(img.as_ptr(), img.len().try_into().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [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" "a1cb9689aff75cac9a52d0d5a56cdddbe80d92c6b442493bf07ae85fb58c59e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1cb9689aff75cac9a52d0d5a56cdddbe80d92c6b442493bf07ae85fb58c59e3", kill_on_drop: false }` [INFO] [stdout] a1cb9689aff75cac9a52d0d5a56cdddbe80d92c6b442493bf07ae85fb58c59e3