[INFO] cloning repository https://github.com/lanesawyer/aws_parameter_update [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lanesawyer/aws_parameter_update" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanesawyer%2Faws_parameter_update", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanesawyer%2Faws_parameter_update'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7809eac0e991181eac8a39e6e87434a79f2e99be [INFO] testing lanesawyer/aws_parameter_update against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flanesawyer%2Faws_parameter_update" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lanesawyer/aws_parameter_update 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 git repo https://github.com/lanesawyer/aws_parameter_update [INFO] finished tweaking git repo https://github.com/lanesawyer/aws_parameter_update [INFO] tweaked toml for git repo https://github.com/lanesawyer/aws_parameter_update written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/lanesawyer/aws_parameter_update already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-core v0.3.9 [INFO] [stderr] Downloaded futures-channel v0.3.9 [INFO] [stderr] Downloaded rusoto_core v0.46.0 [INFO] [stderr] Downloaded futures-task v0.3.9 [INFO] [stderr] Downloaded rusoto_credential v0.46.0 [INFO] [stderr] Downloaded futures-executor v0.3.9 [INFO] [stderr] Downloaded futures-macro v0.3.9 [INFO] [stderr] Downloaded futures-util v0.3.9 [INFO] [stderr] Downloaded rand v0.8.1 [INFO] [stderr] Downloaded rusoto_ssm v0.46.0 [INFO] [stderr] Downloaded rusoto_signature v0.46.0 [INFO] [stderr] Downloaded tokio-test v0.4.1 [INFO] [stderr] Downloaded futures-io v0.3.9 [INFO] [stderr] Downloaded futures-sink v0.3.9 [INFO] [stderr] Downloaded futures v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 21294e1297196e955934cd77722a96feeeff789ffc583e7f09ca2e4f6740c596 [INFO] running `Command { std: "docker" "start" "-a" "21294e1297196e955934cd77722a96feeeff789ffc583e7f09ca2e4f6740c596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21294e1297196e955934cd77722a96feeeff789ffc583e7f09ca2e4f6740c596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21294e1297196e955934cd77722a96feeeff789ffc583e7f09ca2e4f6740c596", kill_on_drop: false }` [INFO] [stdout] 21294e1297196e955934cd77722a96feeeff789ffc583e7f09ca2e4f6740c596 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stdout] 9cb8321c53024a88a788cf8926a8df50d44f486778aee57c628c07884d1e01d2 [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" "9cb8321c53024a88a788cf8926a8df50d44f486778aee57c628c07884d1e01d2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling futures-core v0.3.9 [INFO] [stderr] Compiling futures-sink v0.3.9 [INFO] [stderr] Compiling futures-io v0.3.9 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling time v0.2.24 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.9 [INFO] [stderr] Compiling futures-task v0.3.9 [INFO] [stderr] Compiling rusoto_core v0.46.0 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.119 [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] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.9 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling futures-executor v0.3.9 [INFO] [stderr] Compiling futures v0.3.9 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.1 [INFO] [stderr] Compiling tokio-test v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling simple_logger v1.11.0 [INFO] [stderr] Compiling rusoto_credential v0.46.0 [INFO] [stderr] Compiling rusoto_signature v0.46.0 [INFO] [stderr] Compiling rusoto_ssm v0.46.0 [INFO] [stderr] Compiling aws_parameter_update v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/parameter.rs:95:64 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- this function returns a `Result` [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 on `Result`s, not `Option`s, in an async function that returns `Result` [INFO] [stdout] --> src/parameter.rs:95:71 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____- this function returns a `Result` [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] For more information about this error, try `rustc --explain E0277`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9cb8321c53024a88a788cf8926a8df50d44f486778aee57c628c07884d1e01d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb8321c53024a88a788cf8926a8df50d44f486778aee57c628c07884d1e01d2", kill_on_drop: false }` [INFO] [stdout] 9cb8321c53024a88a788cf8926a8df50d44f486778aee57c628c07884d1e01d2