[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] testing compenguy/pdftext against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompenguy%2Fpdftext" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/compenguy/pdftext on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-12/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" "+beta-2020-06-03" "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] Updating git repository `https://github.com/s3bk/tuple` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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] [stderr] Updating git repository `https://github.com/s3bk/tuple` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 19fc8d1c569c9d80ae59cf4617d7710a627cf1b487d5c5485df598cb753cec2c [INFO] running `"docker" "start" "-a" "19fc8d1c569c9d80ae59cf4617d7710a627cf1b487d5c5485df598cb753cec2c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling encoding v0.1.0 (https://github.com/pdf-rs/encoding/#44cafed0) [INFO] [stderr] Compiling ordermap v0.2.13 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling tuple v0.4.3 (https://github.com/s3bk/tuple#c1d2eef8) [INFO] [stderr] Compiling once_cell v0.2.4 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Compiling pdf_derive v0.1.19 (https://github.com/pdf-rs/pdf/#7a88532a) [INFO] [stderr] Compiling snafu v0.4.4 [INFO] [stderr] Compiling pdf v0.7.0 (https://github.com/pdf-rs/pdf/#7a88532a) [INFO] [stderr] Compiling 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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "19fc8d1c569c9d80ae59cf4617d7710a627cf1b487d5c5485df598cb753cec2c"` [INFO] running `"docker" "rm" "-f" "19fc8d1c569c9d80ae59cf4617d7710a627cf1b487d5c5485df598cb753cec2c"` [INFO] [stdout] 19fc8d1c569c9d80ae59cf4617d7710a627cf1b487d5c5485df598cb753cec2c