[INFO] fetching crate tesseract-plumbing 0.1.0... [INFO] checking tesseract-plumbing-0.1.0 against beta for pr-78714 [INFO] extracting crate tesseract-plumbing 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate tesseract-plumbing 0.1.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5527e7441e9d50eb876fcd4ee895931fc41cb10a865af66c7b976e1bd11ee1fc [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" "5527e7441e9d50eb876fcd4ee895931fc41cb10a865af66c7b976e1bd11ee1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5527e7441e9d50eb876fcd4ee895931fc41cb10a865af66c7b976e1bd11ee1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5527e7441e9d50eb876fcd4ee895931fc41cb10a865af66c7b976e1bd11ee1fc", kill_on_drop: false }` [INFO] [stdout] 5527e7441e9d50eb876fcd4ee895931fc41cb10a865af66c7b976e1bd11ee1fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c63d0cfe824d7a93d2c59b575bd2668bf45301c0661c70ada1399a5ff59a0725 [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" "c63d0cfe824d7a93d2c59b575bd2668bf45301c0661c70ada1399a5ff59a0725", kill_on_drop: false }` [INFO] [stderr] Compiling bindgen v0.55.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 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] [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" "c63d0cfe824d7a93d2c59b575bd2668bf45301c0661c70ada1399a5ff59a0725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c63d0cfe824d7a93d2c59b575bd2668bf45301c0661c70ada1399a5ff59a0725", kill_on_drop: false }` [INFO] [stdout] c63d0cfe824d7a93d2c59b575bd2668bf45301c0661c70ada1399a5ff59a0725