[INFO] fetching crate tesseract-plumbing 0.1.0... [INFO] checking tesseract-plumbing-0.1.0 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [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 b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70c0571282abeb01037d0f6b925dff926be0898c3f75869f873d4c34736cc7a8 [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" "70c0571282abeb01037d0f6b925dff926be0898c3f75869f873d4c34736cc7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70c0571282abeb01037d0f6b925dff926be0898c3f75869f873d4c34736cc7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c0571282abeb01037d0f6b925dff926be0898c3f75869f873d4c34736cc7a8", kill_on_drop: false }` [INFO] [stdout] 70c0571282abeb01037d0f6b925dff926be0898c3f75869f873d4c34736cc7a8 [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5340b74e758b0b38186f4aa2f7b0cf07cb685a14c086bd83c175942374d57484 [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" "5340b74e758b0b38186f4aa2f7b0cf07cb685a14c086bd83c175942374d57484", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling aho-corasick v0.7.15 [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.4.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling leptonica-sys v0.3.3 [INFO] [stderr] Compiling tesseract-sys v0.5.4 [INFO] [stderr] Checking tesseract-plumbing v0.1.0 (/opt/rustwide/workdir) [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] [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 a `usize` to a `u64` and panic if the converted value doesn'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[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 a `usize` to a `u64` and panic if the converted value doesn'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: 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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5340b74e758b0b38186f4aa2f7b0cf07cb685a14c086bd83c175942374d57484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5340b74e758b0b38186f4aa2f7b0cf07cb685a14c086bd83c175942374d57484", kill_on_drop: false }` [INFO] [stdout] 5340b74e758b0b38186f4aa2f7b0cf07cb685a14c086bd83c175942374d57484