[INFO] cloning repository https://github.com/agausmann/discriminord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agausmann/discriminord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagausmann%2Fdiscriminord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagausmann%2Fdiscriminord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 855e5b632d9ba6e35895425be29b70765ea42e60 [INFO] checking agausmann/discriminord against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagausmann%2Fdiscriminord" "/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/agausmann/discriminord on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/agausmann/discriminord [INFO] finished tweaking git repo https://github.com/agausmann/discriminord [INFO] tweaked toml for git repo https://github.com/agausmann/discriminord written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/agausmann/discriminord already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bab53d0cd14123cf4008d37b65d78cf60b117230e7bdda5c0d7cb7db96feaefc [INFO] running `Command { std: "docker" "start" "-a" "bab53d0cd14123cf4008d37b65d78cf60b117230e7bdda5c0d7cb7db96feaefc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bab53d0cd14123cf4008d37b65d78cf60b117230e7bdda5c0d7cb7db96feaefc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bab53d0cd14123cf4008d37b65d78cf60b117230e7bdda5c0d7cb7db96feaefc", kill_on_drop: false }` [INFO] [stdout] bab53d0cd14123cf4008d37b65d78cf60b117230e7bdda5c0d7cb7db96feaefc [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cf6311103e00de02dbb02d77cad88ac66286bd7f9da0a6823b4e98d16b09510 [INFO] running `Command { std: "docker" "start" "-a" "6cf6311103e00de02dbb02d77cad88ac66286bd7f9da0a6823b4e98d16b09510", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.58 (as host dependency): visit [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking discriminord v0.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let output = discriminord::convert( [INFO] [stdout] | __________________^ [INFO] [stdout] 35 | | &dark_image, [INFO] [stdout] 36 | | &light_image, [INFO] [stdout] 37 | | options.dark_background.0, [INFO] [stdout] 38 | | options.light_background.0, [INFO] [stdout] 39 | | )?; [INFO] [stdout] | |______^ the `?` operator cannot be applied to type `ImageBuffer, Vec>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `ImageBuffer, Vec>` [INFO] [stdout] note: required by `branch` [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 `discriminord` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let output = discriminord::convert( [INFO] [stdout] | __________________^ [INFO] [stdout] 35 | | &dark_image, [INFO] [stdout] 36 | | &light_image, [INFO] [stdout] 37 | | options.dark_background.0, [INFO] [stdout] 38 | | options.light_background.0, [INFO] [stdout] 39 | | )?; [INFO] [stdout] | |______^ the `?` operator cannot be applied to type `ImageBuffer, Vec>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `ImageBuffer, Vec>` [INFO] [stdout] note: required by `branch` [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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6cf6311103e00de02dbb02d77cad88ac66286bd7f9da0a6823b4e98d16b09510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf6311103e00de02dbb02d77cad88ac66286bd7f9da0a6823b4e98d16b09510", kill_on_drop: false }` [INFO] [stdout] 6cf6311103e00de02dbb02d77cad88ac66286bd7f9da0a6823b4e98d16b09510