[INFO] cloning repository https://github.com/antonmisa/rust_simple_http_rocket [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antonmisa/rust_simple_http_rocket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonmisa%2Frust_simple_http_rocket", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonmisa%2Frust_simple_http_rocket'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f30aa8524c33d735cc2716d43b460577deb1132 [INFO] checking antonmisa/rust_simple_http_rocket against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonmisa%2Frust_simple_http_rocket" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antonmisa/rust_simple_http_rocket on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/antonmisa/rust_simple_http_rocket [INFO] finished tweaking git repo https://github.com/antonmisa/rust_simple_http_rocket [INFO] tweaked toml for git repo https://github.com/antonmisa/rust_simple_http_rocket written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/antonmisa/rust_simple_http_rocket already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 707a5eb81e4ab9fa76c3205f212f48477f7c381c2058e4064b411d6c77970904 [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" "707a5eb81e4ab9fa76c3205f212f48477f7c381c2058e4064b411d6c77970904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "707a5eb81e4ab9fa76c3205f212f48477f7c381c2058e4064b411d6c77970904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "707a5eb81e4ab9fa76c3205f212f48477f7c381c2058e4064b411d6c77970904", kill_on_drop: false }` [INFO] [stdout] 707a5eb81e4ab9fa76c3205f212f48477f7c381c2058e4064b411d6c77970904 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1418a3e2593127081a67371d39a8eab6c51ddf151ec875327a186797986dfd44 [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" "1418a3e2593127081a67371d39a8eab6c51ddf151ec875327a186797986dfd44", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Checking rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 12 | / fn main() { [INFO] [stdout] 13 | | let config = Config::build(Environment::Staging) [INFO] [stdout] | |__________________^ [INFO] [stdout] 14 | || .address("0.0.0.0") [INFO] [stdout] 15 | || .port(8000) [INFO] [stdout] 16 | || .finalize()?; [INFO] [stdout] | ||____________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | rocket::custom(config).mount("/", routes![index]).launch(); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 12 | / fn main() { [INFO] [stdout] 13 | | let config = Config::build(Environment::Staging) [INFO] [stdout] | |__________________^ [INFO] [stdout] 14 | || .address("0.0.0.0") [INFO] [stdout] 15 | || .port(8000) [INFO] [stdout] 16 | || .finalize()?; [INFO] [stdout] | ||____________________^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | rocket::custom(config).mount("/", routes![index]).launch(); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [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 `rocket` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [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" "1418a3e2593127081a67371d39a8eab6c51ddf151ec875327a186797986dfd44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1418a3e2593127081a67371d39a8eab6c51ddf151ec875327a186797986dfd44", kill_on_drop: false }` [INFO] [stdout] 1418a3e2593127081a67371d39a8eab6c51ddf151ec875327a186797986dfd44