[INFO] updating cached repository https://github.com/compenguy/pdftext [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a15270e57dd7a93abfcc1efe039896caf5125391 [INFO] checking compenguy/pdftext against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompenguy%2Fpdftext" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/compenguy/pdftext on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/compenguy/pdftext [INFO] finished tweaking git repo https://github.com/compenguy/pdftext [INFO] tweaked toml for git repo https://github.com/compenguy/pdftext written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/compenguy/pdftext already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating git repository `https://github.com/pdf-rs/pdf/` [INFO] [stderr] Updating git repository `https://github.com/pdf-rs/encoding/` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/pdf-rs/pdf/` [INFO] [stderr] Updating git repository `https://github.com/pdf-rs/encoding/` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3b51382f12f78e6c6e46561666f0c202a4ce1b4064788ebdcca9a8a46d977c08 [INFO] running `"docker" "start" "-a" "3b51382f12f78e6c6e46561666f0c202a4ce1b4064788ebdcca9a8a46d977c08"` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling encoding v0.1.0 (https://github.com/pdf-rs/encoding/#44cafed0) [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Checking tuple v0.4.2 [INFO] [stderr] Checking once_cell v0.2.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Compiling pdf_derive v0.1.19 (https://github.com/pdf-rs/pdf/#1297c4dd) [INFO] [stderr] Checking pdf v0.7.0 (https://github.com/pdf-rs/pdf/#1297c4dd) [INFO] [stderr] Checking pdftext v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:19:42 [INFO] [stderr] | [INFO] [stderr] 19 | println!("\nDocument has {} pages.", pdf.num_pages()?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `u32` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `u32` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `pdftext`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:19:42 [INFO] [stderr] | [INFO] [stderr] 19 | println!("\nDocument has {} pages.", pdf.num_pages()?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `u32` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `u32` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `pdftext`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3b51382f12f78e6c6e46561666f0c202a4ce1b4064788ebdcca9a8a46d977c08"` [INFO] running `"docker" "rm" "-f" "3b51382f12f78e6c6e46561666f0c202a4ce1b4064788ebdcca9a8a46d977c08"` [INFO] [stdout] 3b51382f12f78e6c6e46561666f0c202a4ce1b4064788ebdcca9a8a46d977c08