[INFO] updating cached repository https://github.com/mnussbaum/validate-container [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a4d9966ca185b71f510396fb5c8cdeeb81375f04 [INFO] checking mnussbaum/validate-container against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnussbaum%2Fvalidate-container" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mnussbaum/validate-container on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mnussbaum/validate-container [INFO] removed path dependency shiplift from git repo https://github.com/mnussbaum/validate-container [INFO] finished tweaking git repo https://github.com/mnussbaum/validate-container [INFO] tweaked toml for git repo https://github.com/mnussbaum/validate-container written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/mnussbaum/validate-container already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (shiplift) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (shiplift) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 61d048d2f26ab899bb659eeb9d9ac5bf463c748ce166bda38ae43e878898d784 [INFO] running `"docker" "start" "-a" "61d048d2f26ab899bb659eeb9d9ac5bf463c748ce166bda38ae43e878898d784"` [INFO] [stderr] warning: dependency (shiplift) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling hyper-openssl v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking linked_hash_set v0.1.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking filetime v0.2.7 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tar v0.4.26 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.19 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking tokio-openssl v0.3.0 [INFO] [stderr] Checking hyperlocal v0.6.0 [INFO] [stderr] Checking serde v1.0.101 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking shiplift v0.5.0 [INFO] [stderr] Checking validate-container v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | let image = try!(docker.images() [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | let image = try!(docker.images() [INFO] [stderr] | _________________^ [INFO] [stderr] 9 | | .get(image_name) [INFO] [stderr] 10 | | .inspect()); [INFO] [stderr] | |___________________^ expected opaque type, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `impl futures::future::Future` [INFO] [stderr] found type `std::result::Result<_, _>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | let image = try!(docker.images() [INFO] [stderr] | _________________^ [INFO] [stderr] 9 | | .get(image_name) [INFO] [stderr] 10 | | .inspect()); [INFO] [stderr] | |___________________^ expected opaque type, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `impl futures::future::Future` [INFO] [stderr] found type `std::result::Result<_, _>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | let image = docker [INFO] [stderr] | _________________^ [INFO] [stderr] 18 | | .images() [INFO] [stderr] 19 | | .get(image_name) [INFO] [stderr] 20 | | .inspect()?; [INFO] [stderr] | |___________________^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `impl futures::future::Future` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:24:29 [INFO] [stderr] | [INFO] [stderr] 24 | let r = containers.get(&containers.create(&options)?.Id).start()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `impl futures::future::Future` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | let r = containers.get(&containers.create(&options)?.Id).start()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `impl futures::future::Future` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | let image = docker [INFO] [stderr] | _________________^ [INFO] [stderr] 37 | | .images() [INFO] [stderr] 38 | | .get(image_name) [INFO] [stderr] 39 | | .inspect()?; [INFO] [stderr] | |___________________^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `impl futures::future::Future` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `validate-container`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | let image = try!(docker.images() [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | let image = try!(docker.images() [INFO] [stderr] | _________________^ [INFO] [stderr] 9 | | .get(image_name) [INFO] [stderr] 10 | | .inspect()); [INFO] [stderr] | |___________________^ expected opaque type, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `impl futures::future::Future` [INFO] [stderr] found type `std::result::Result<_, _>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | let image = try!(docker.images() [INFO] [stderr] | _________________^ [INFO] [stderr] 9 | | .get(image_name) [INFO] [stderr] 10 | | .inspect()); [INFO] [stderr] | |___________________^ expected opaque type, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `impl futures::future::Future` [INFO] [stderr] found type `std::result::Result<_, _>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | let image = docker [INFO] [stderr] | _________________^ [INFO] [stderr] 18 | | .images() [INFO] [stderr] 19 | | .get(image_name) [INFO] [stderr] 20 | | .inspect()?; [INFO] [stderr] | |___________________^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `impl futures::future::Future` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:24:29 [INFO] [stderr] | [INFO] [stderr] 24 | let r = containers.get(&containers.create(&options)?.Id).start()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `impl futures::future::Future` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | let r = containers.get(&containers.create(&options)?.Id).start()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `impl futures::future::Future` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | let image = docker [INFO] [stderr] | _________________^ [INFO] [stderr] 37 | | .images() [INFO] [stderr] 38 | | .get(image_name) [INFO] [stderr] 39 | | .inspect()?; [INFO] [stderr] | |___________________^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `impl futures::future::Future` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `impl futures::stream::Stream` in the current scope [INFO] [stderr] --> src/main.rs:67:15 [INFO] [stderr] | [INFO] [stderr] 67 | ).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `impl futures::stream::Stream` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `validate-container`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "61d048d2f26ab899bb659eeb9d9ac5bf463c748ce166bda38ae43e878898d784"` [INFO] running `"docker" "rm" "-f" "61d048d2f26ab899bb659eeb9d9ac5bf463c748ce166bda38ae43e878898d784"` [INFO] [stdout] 61d048d2f26ab899bb659eeb9d9ac5bf463c748ce166bda38ae43e878898d784