[INFO] cloning repository https://github.com/mnussbaum/validate-container [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mnussbaum/validate-container" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnussbaum%2Fvalidate-container", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnussbaum%2Fvalidate-container'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4d9966ca185b71f510396fb5c8cdeeb81375f04 [INFO] checking mnussbaum/validate-container against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnussbaum%2Fvalidate-container" "/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/mnussbaum/validate-container on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/mnussbaum/validate-container already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Downloading crates ... [INFO] [stderr] Downloaded hyperlocal v0.6.0 [INFO] [stderr] Downloaded linked_hash_set v0.1.4 [INFO] [stderr] Downloaded tokio-openssl v0.3.0 [INFO] [stderr] Downloaded hyper-openssl v0.7.1 [INFO] [stderr] Downloaded shiplift v0.6.0 [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23b714122085435668e98e6bf817509a58df502a89501999817d71fcc5bf2a06 [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" "23b714122085435668e98e6bf817509a58df502a89501999817d71fcc5bf2a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23b714122085435668e98e6bf817509a58df502a89501999817d71fcc5bf2a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b714122085435668e98e6bf817509a58df502a89501999817d71fcc5bf2a06", kill_on_drop: false }` [INFO] [stdout] 23b714122085435668e98e6bf817509a58df502a89501999817d71fcc5bf2a06 [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6cdf0e9d60830c2c04df500ef553a5dc031ebebf6901734d4e0be62f5ee0fef [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" "a6cdf0e9d60830c2c04df500ef553a5dc031ebebf6901734d4e0be62f5ee0fef", kill_on_drop: false }` [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] Checking linked_hash_set v0.1.4 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-openssl v0.3.0 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tar v0.4.30 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking hyperlocal v0.6.0 [INFO] [stderr] Checking shiplift v0.6.0 [INFO] [stderr] Checking validate-container v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let image = try!(docker.images() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let image = try!(docker.images() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let image = try!(docker.images() [INFO] [stdout] | _________________^ [INFO] [stdout] 9 | | .get(image_name) [INFO] [stdout] 10 | | .inspect()); [INFO] [stdout] | |___________________^ expected opaque type, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/shiplift-0.6.0/src/lib.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn inspect(&self) -> impl Future { [INFO] [stdout] | ----------------------------------------------- the expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::future::Future` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let image = try!(docker.images() [INFO] [stdout] | _________________^ [INFO] [stdout] 9 | | .get(image_name) [INFO] [stdout] 10 | | .inspect()); [INFO] [stdout] | |___________________^ expected opaque type, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/shiplift-0.6.0/src/lib.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn inspect(&self) -> impl Future { [INFO] [stdout] | ----------------------------------------------- the expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::future::Future` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let image = try!(docker.images() [INFO] [stdout] | _________________^ [INFO] [stdout] 9 | | .get(image_name) [INFO] [stdout] 10 | | .inspect()); [INFO] [stdout] | |___________________^ expected opaque type, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/shiplift-0.6.0/src/lib.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn inspect(&self) -> impl Future { [INFO] [stdout] | ----------------------------------------------- the expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::future::Future` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let image = try!(docker.images() [INFO] [stdout] | _________________^ [INFO] [stdout] 9 | | .get(image_name) [INFO] [stdout] 10 | | .inspect()); [INFO] [stdout] | |___________________^ expected opaque type, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/shiplift-0.6.0/src/lib.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn inspect(&self) -> impl Future { [INFO] [stdout] | ----------------------------------------------- the expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::future::Future` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let image = docker [INFO] [stdout] | _________________^ [INFO] [stdout] 18 | | .images() [INFO] [stdout] 19 | | .get(image_name) [INFO] [stdout] 20 | | .inspect()?; [INFO] [stdout] | |___________________^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl futures::future::Future` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let image = docker [INFO] [stdout] | _________________^ [INFO] [stdout] 18 | | .images() [INFO] [stdout] 19 | | .get(image_name) [INFO] [stdout] 20 | | .inspect()?; [INFO] [stdout] | |___________________^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl futures::future::Future` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let r = containers.get(&containers.create(&options)?.Id).start()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl futures::future::Future` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let r = containers.get(&containers.create(&options)?.Id).start()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl futures::future::Future` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let r = containers.get(&containers.create(&options)?.Id).start()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl futures::future::Future` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let image = docker [INFO] [stdout] | _________________^ [INFO] [stdout] 37 | | .images() [INFO] [stdout] 38 | | .get(image_name) [INFO] [stdout] 39 | | .inspect()?; [INFO] [stdout] | |___________________^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl futures::future::Future` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let r = containers.get(&containers.create(&options)?.Id).start()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl futures::future::Future` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let image = docker [INFO] [stdout] | _________________^ [INFO] [stdout] 37 | | .images() [INFO] [stdout] 38 | | .get(image_name) [INFO] [stdout] 39 | | .inspect()?; [INFO] [stdout] | |___________________^ the `?` operator cannot be applied to type `impl futures::future::Future` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `impl futures::future::Future` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `validate-container` [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[E0599]: no method named `unwrap` found for opaque type `impl futures::stream::Stream` in the current scope [INFO] [stdout] --> src/main.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | ).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl futures::stream::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a6cdf0e9d60830c2c04df500ef553a5dc031ebebf6901734d4e0be62f5ee0fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6cdf0e9d60830c2c04df500ef553a5dc031ebebf6901734d4e0be62f5ee0fef", kill_on_drop: false }` [INFO] [stdout] a6cdf0e9d60830c2c04df500ef553a5dc031ebebf6901734d4e0be62f5ee0fef