[INFO] updating cached repository https://github.com/compenguy/pdftext [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a15270e57dd7a93abfcc1efe039896caf5125391 [INFO] testing compenguy/pdftext against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompenguy%2Fpdftext" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/compenguy/pdftext on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/compenguy/pdftext already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/pdf-rs/pdf/` [INFO] [stderr] Updating git repository `https://github.com/pdf-rs/encoding/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14fc0f02e2d3fcdd7f0371e729ab152b1dc477e859de5279477e688ae5bd3d3a [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" "14fc0f02e2d3fcdd7f0371e729ab152b1dc477e859de5279477e688ae5bd3d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14fc0f02e2d3fcdd7f0371e729ab152b1dc477e859de5279477e688ae5bd3d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14fc0f02e2d3fcdd7f0371e729ab152b1dc477e859de5279477e688ae5bd3d3a", kill_on_drop: false }` [INFO] [stdout] 14fc0f02e2d3fcdd7f0371e729ab152b1dc477e859de5279477e688ae5bd3d3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", 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] 15cb7feade15fe4eb94de04afa34b83be8f572354083096408f55cce9913461a [INFO] running `Command { std: "docker" "start" "-a" "15cb7feade15fe4eb94de04afa34b83be8f572354083096408f55cce9913461a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling encoding v0.1.0 (https://github.com/pdf-rs/encoding/#44cafed0) [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling once_cell v0.2.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Compiling pdf_derive v0.1.19 (https://github.com/pdf-rs/pdf/#249b9b0a) [INFO] [stderr] Compiling snafu v0.4.4 [INFO] [stderr] Compiling pdf v0.7.0 (https://github.com/pdf-rs/pdf/#249b9b0a) [INFO] [stderr] Compiling pdftext v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stdout] --> src/main.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | println!("\nDocument has {} pages.", pdf.num_pages()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `u32` [INFO] [stdout] = note: required by `std::ops::Try::into_result` [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 E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pdftext`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "15cb7feade15fe4eb94de04afa34b83be8f572354083096408f55cce9913461a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15cb7feade15fe4eb94de04afa34b83be8f572354083096408f55cce9913461a", kill_on_drop: false }` [INFO] [stdout] 15cb7feade15fe4eb94de04afa34b83be8f572354083096408f55cce9913461a