[INFO] fetching crate aws_parameter_update 0.4.1... [INFO] checking aws_parameter_update-0.4.1 against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] extracting crate aws_parameter_update 0.4.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate aws_parameter_update 0.4.1 on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aws_parameter_update 0.4.1 [INFO] finished tweaking crates.io crate aws_parameter_update 0.4.1 [INFO] tweaked toml for crates.io crate aws_parameter_update 0.4.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate aws_parameter_update 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusoto_ssm v0.46.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a53c51c7e04ccc384344d0f74da08650f8942eb37c36c2b12b39f4f1e2ef599c [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" "a53c51c7e04ccc384344d0f74da08650f8942eb37c36c2b12b39f4f1e2ef599c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a53c51c7e04ccc384344d0f74da08650f8942eb37c36c2b12b39f4f1e2ef599c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53c51c7e04ccc384344d0f74da08650f8942eb37c36c2b12b39f4f1e2ef599c", kill_on_drop: false }` [INFO] [stdout] a53c51c7e04ccc384344d0f74da08650f8942eb37c36c2b12b39f4f1e2ef599c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3686589c2305edaff85b8aac8993be7fb7efe2c9dcf550ce2ba36eba9b4c4f11 [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" "3686589c2305edaff85b8aac8993be7fb7efe2c9dcf550ce2ba36eba9b4c4f11", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-core v0.3.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Checking futures-sink v0.3.9 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Checking futures-io v0.3.9 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling tokio v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling time v0.2.24 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.9 [INFO] [stderr] Checking futures-task v0.3.9 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling rusoto_core v0.46.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.9 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking futures-util v0.3.9 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking futures-executor v0.3.9 [INFO] [stderr] Checking futures v0.3.9 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.1 [INFO] [stderr] Checking tokio-test v0.4.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking rusoto_credential v0.46.0 [INFO] [stderr] Checking rusoto_signature v0.46.0 [INFO] [stderr] Checking rusoto_ssm v0.46.0 [INFO] [stderr] Checking aws_parameter_update v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/parameter.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 92 | async fn needs_updating(&self, client: &SsmClient) -> Result { [INFO] [stdout] | ___________________________________________________________________________________- [INFO] [stdout] 93 | | match client.get_parameter(self.to_get_parameter_request()).await { [INFO] [stdout] 94 | | Ok(parameter_result) => { [INFO] [stdout] 95 | | let existing_value = parameter_result.parameter?.value?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in an async function that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/parameter.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 92 | async fn needs_updating(&self, client: &SsmClient) -> Result { [INFO] [stdout] | ___________________________________________________________________________________- [INFO] [stdout] 93 | | match client.get_parameter(self.to_get_parameter_request()).await { [INFO] [stdout] 94 | | Ok(parameter_result) => { [INFO] [stdout] 95 | | let existing_value = parameter_result.parameter?.value?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in an async function that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [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] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/parameter.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 92 | async fn needs_updating(&self, client: &SsmClient) -> Result { [INFO] [stdout] | ___________________________________________________________________________________- [INFO] [stdout] 93 | | match client.get_parameter(self.to_get_parameter_request()).await { [INFO] [stdout] 94 | | Ok(parameter_result) => { [INFO] [stdout] 95 | | let existing_value = parameter_result.parameter?.value?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in an async function that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/parameter.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 92 | async fn needs_updating(&self, client: &SsmClient) -> Result { [INFO] [stdout] | ___________________________________________________________________________________- [INFO] [stdout] 93 | | match client.get_parameter(self.to_get_parameter_request()).await { [INFO] [stdout] 94 | | Ok(parameter_result) => { [INFO] [stdout] 95 | | let existing_value = parameter_result.parameter?.value?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in an async function that returns `Result` [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aws_parameter_update` [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "3686589c2305edaff85b8aac8993be7fb7efe2c9dcf550ce2ba36eba9b4c4f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3686589c2305edaff85b8aac8993be7fb7efe2c9dcf550ce2ba36eba9b4c4f11", kill_on_drop: false }` [INFO] [stdout] 3686589c2305edaff85b8aac8993be7fb7efe2c9dcf550ce2ba36eba9b4c4f11