[INFO] fetching crate graph-http 0.0.2... [INFO] testing graph-http-0.0.2 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate graph-http 0.0.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate graph-http 0.0.2 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate graph-http 0.0.2 [INFO] finished tweaking crates.io crate graph-http 0.0.2 [INFO] tweaked toml for crates.io crate graph-http 0.0.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 085a14c80959d95f542e562ae9a76691f23e3c7b7d2bdbefe8a17d28deae24e6 [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" "085a14c80959d95f542e562ae9a76691f23e3c7b7d2bdbefe8a17d28deae24e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "085a14c80959d95f542e562ae9a76691f23e3c7b7d2bdbefe8a17d28deae24e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "085a14c80959d95f542e562ae9a76691f23e3c7b7d2bdbefe8a17d28deae24e6", kill_on_drop: false }` [INFO] [stdout] 085a14c80959d95f542e562ae9a76691f23e3c7b7d2bdbefe8a17d28deae24e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] bcb54357bbf851f1cc06fa5fb3bc2fa764412bd5cef378a4f975ca06162da915 [INFO] running `Command { std: "docker" "start" "-a" "bcb54357bbf851f1cc06fa5fb3bc2fa764412bd5cef378a4f975ca06162da915", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.25.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling snafu-derive v0.5.0 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling snafu v0.5.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling handlebars v2.0.4 [INFO] [stderr] Compiling graph-core v0.0.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling graph-error v0.0.1 [INFO] [stderr] Compiling graph-http v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/uploadsession/client.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 110 | / pub fn new( [INFO] [stdout] 111 | | upload_session: serde_json::Value, [INFO] [stdout] 112 | | ) -> GraphResult> { [INFO] [stdout] 113 | | let url = upload_session["uploadUrl"].as_str()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result>>>, GraphFailure>` [INFO] [stdout] ... | [INFO] [stdout] 118 | | }) [INFO] [stdout] 119 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result>>>, GraphFailure>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/uploadsession/client.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 165 | / pub fn new_async( [INFO] [stdout] 166 | | upload_session: serde_json::Value, [INFO] [stdout] 167 | | ) -> GraphResult> { [INFO] [stdout] 168 | | let url = upload_session["uploadUrl"].as_str()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result>>>>, GraphFailure>` [INFO] [stdout] ... | [INFO] [stdout] 173 | | }) [INFO] [stdout] 174 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result>>>>, GraphFailure>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph-http` [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" "bcb54357bbf851f1cc06fa5fb3bc2fa764412bd5cef378a4f975ca06162da915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb54357bbf851f1cc06fa5fb3bc2fa764412bd5cef378a4f975ca06162da915", kill_on_drop: false }` [INFO] [stdout] bcb54357bbf851f1cc06fa5fb3bc2fa764412bd5cef378a4f975ca06162da915