[INFO] updating cached repository https://github.com/9999years/nix-options
[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] 4b9363c0ea4b7b9f32748f2da5a954cd8a1e0ef2
[INFO] checking 9999years/nix-options against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F9999years%2Fnix-options" "/workspace/builds/worker-9/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/9999years/nix-options on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/9999years/nix-options
[INFO] finished tweaking git repo https://github.com/9999years/nix-options
[INFO] tweaked toml for git repo https://github.com/9999years/nix-options written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/9999years/nix-options already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: unused manifest key: bin.0.src
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 557915b0b9d1d131677256eb02c7110f33ceb084b331cf15308d6ae9aea044be
[INFO] running `"docker" "start" "-a" "557915b0b9d1d131677256eb02c7110f33ceb084b331cf15308d6ae9aea044be"`
[INFO] [stderr] warning: unused manifest key: bin.0.src
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling rustversion v1.0.2
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]     Checking regex-syntax v0.6.14
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]    Compiling derive_builder v0.9.0
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking static_assertions v0.3.4
[INFO] [stderr]    Compiling anyhow v1.0.26
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking utf8parse v0.1.1
[INFO] [stderr]     Checking shlex v0.1.1
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]    Compiling nom v5.1.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]     Checking termios v0.3.1
[INFO] [stderr]     Checking clicolors-control v1.0.1
[INFO] [stderr]    Compiling lexical-core v0.4.6
[INFO] [stderr]     Checking aho-corasick v0.7.8
[INFO] [stderr]     Checking nix v0.14.1
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking vte v0.3.3
[INFO] [stderr]     Checking pretty_assertions v0.6.1
[INFO] [stderr]     Checking fuzzy-matcher v0.3.3
[INFO] [stderr]     Checking term v0.5.2
[INFO] [stderr]     Checking chrono v0.4.10
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking timer v0.2.0
[INFO] [stderr]     Checking regex v1.3.4
[INFO] [stderr]     Checking env_logger v0.6.2
[INFO] [stderr]     Checking console v0.9.2
[INFO] [stderr]     Checking tuikit v0.2.9
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.10
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling proc-macro-error v0.4.8
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.8
[INFO] [stderr]     Checking thiserror v1.0.10
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling derive_builder_core v0.9.0
[INFO] [stderr]    Compiling structopt-derive v0.4.2
[INFO] [stderr]     Checking skim v0.7.0
[INFO] [stderr]     Checking structopt v0.3.9
[INFO] [stderr]     Checking nix-options v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused import: `std::io`
[INFO] [stderr]  --> src/process.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::io;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::BufRead`
[INFO] [stderr]  --> src/process.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::BufRead;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::string::FromUtf8Error`
[INFO] [stderr]  --> src/process.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::string::FromUtf8Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io`
[INFO] [stderr]  --> src/process.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::io;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::BufRead`
[INFO] [stderr]  --> src/process.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::io::BufRead;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::string::FromUtf8Error`
[INFO] [stderr]  --> src/process.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::string::FromUtf8Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `context` found for enum `process::CommandError` in the current scope
[INFO] [stderr]   --> src/process.rs:25:53
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub enum CommandError {
[INFO] [stderr]    | --------------------- method `context` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 25 |             CommandError::ExitStatus(output.status).context(format!("Process {} failed.", c))
[INFO] [stderr]    |                                                     ^^^^^^^ method not found in `process::CommandError`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]    = note: the following trait defines an item `context`, perhaps you need to implement it:
[INFO] [stderr]            candidate #1: `anyhow::Context`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `std::process::Command` doesn't implement `std::fmt::Display`
[INFO] [stderr]   --> src/process.rs:25:91
[INFO] [stderr]    |
[INFO] [stderr] 25 |             CommandError::ExitStatus(output.status).context(format!("Process {} failed.", c))
[INFO] [stderr]    |                                                                                           ^ `std::process::Command` cannot be formatted with the default formatter
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::fmt::Display` is not implemented for `std::process::Command`
[INFO] [stderr]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stderr]    = note: required because of the requirements on the impl of `std::fmt::Display` for `&mut std::process::Command`
[INFO] [stderr]    = note: required by `std::fmt::Display::fmt`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/process.rs:35:45
[INFO] [stderr]    |
[INFO] [stderr] 35 |                     String::from_utf8_lossy(output.stderr)
[INFO] [stderr]    |                                             ^^^^^^^^^^^^^
[INFO] [stderr]    |                                             |
[INFO] [stderr]    |                                             expected `&[u8]`, found struct `std::vec::Vec`
[INFO] [stderr]    |                                             help: consider borrowing here: `&output.stderr`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected reference `&[u8]`
[INFO] [stderr]                  found struct `std::vec::Vec<u8>`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `std::process::Command` doesn't implement `std::fmt::Display`
[INFO] [stderr]   --> src/process.rs:34:21
[INFO] [stderr]    |
[INFO] [stderr] 34 |                     c,
[INFO] [stderr]    |                     ^ `std::process::Command` cannot be formatted with the default formatter
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::fmt::Display` is not implemented for `std::process::Command`
[INFO] [stderr]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stderr]    = note: required because of the requirements on the impl of `std::fmt::Display` for `&mut std::process::Command`
[INFO] [stderr]    = note: required by `std::fmt::Display::fmt`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/process.rs:30:20
[INFO] [stderr]    |
[INFO] [stderr] 30 |           return Err(CommandError::Stderr(
[INFO] [stderr]    |  ____________________^
[INFO] [stderr] 31 | |             String::from_utf8(output.stderr).with_context(|| {
[INFO] [stderr] 32 | |                 format!(
[INFO] [stderr] 33 | |                     "Failed to decode stderr of {} as utf-8. Stderr (lossily decoded): {}",
[INFO] [stderr] ...  |
[INFO] [stderr] 37 | |             })?,
[INFO] [stderr] 38 | |         ));
[INFO] [stderr]    | |_________^ expected struct `anyhow::Error`, found enum `process::CommandError`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `context` found for enum `process::CommandError` in the current scope
[INFO] [stderr]   --> src/process.rs:25:53
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub enum CommandError {
[INFO] [stderr]    | --------------------- method `context` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 25 |             CommandError::ExitStatus(output.status).context(format!("Process {} failed.", c))
[INFO] [stderr]    |                                                     ^^^^^^^ method not found in `process::CommandError`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]    = note: the following trait defines an item `context`, perhaps you need to implement it:
[INFO] [stderr]            candidate #1: `anyhow::Context`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `std::process::Command` doesn't implement `std::fmt::Display`
[INFO] [stderr]   --> src/process.rs:46:77
[INFO] [stderr]    |
[INFO] [stderr] 46 |         .with_context(|| format!("Failed to decode stdout of {} as utf-8.", c))?
[INFO] [stderr]    |                                                                             ^ `std::process::Command` cannot be formatted with the default formatter
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::fmt::Display` is not implemented for `std::process::Command`
[INFO] [stderr]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stderr]    = note: required because of the requirements on the impl of `std::fmt::Display` for `&mut std::process::Command`
[INFO] [stderr]    = note: required by `std::fmt::Display::fmt`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `std::process::Command` doesn't implement `std::fmt::Display`
[INFO] [stderr]   --> src/process.rs:25:91
[INFO] [stderr]    |
[INFO] [stderr] 25 |             CommandError::ExitStatus(output.status).context(format!("Process {} failed.", c))
[INFO] [stderr]    |                                                                                           ^ `std::process::Command` cannot be formatted with the default formatter
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::fmt::Display` is not implemented for `std::process::Command`
[INFO] [stderr]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stderr]    = note: required because of the requirements on the impl of `std::fmt::Display` for `&mut std::process::Command`
[INFO] [stderr]    = note: required by `std::fmt::Display::fmt`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/process.rs:35:45
[INFO] [stderr]    |
[INFO] [stderr] 35 |                     String::from_utf8_lossy(output.stderr)
[INFO] [stderr]    |                                             ^^^^^^^^^^^^^
[INFO] [stderr]    |                                             |
[INFO] [stderr]    |                                             expected `&[u8]`, found struct `std::vec::Vec`
[INFO] [stderr]    |                                             help: consider borrowing here: `&output.stderr`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected reference `&[u8]`
[INFO] [stderr]                  found struct `std::vec::Vec<u8>`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `std::process::Command` doesn't implement `std::fmt::Display`
[INFO] [stderr]   --> src/process.rs:34:21
[INFO] [stderr]    |
[INFO] [stderr] 34 |                     c,
[INFO] [stderr]    |                     ^ `std::process::Command` cannot be formatted with the default formatter
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::fmt::Display` is not implemented for `std::process::Command`
[INFO] [stderr]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stderr]    = note: required because of the requirements on the impl of `std::fmt::Display` for `&mut std::process::Command`
[INFO] [stderr]    = note: required by `std::fmt::Display::fmt`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: try expression alternatives have incompatible types
[INFO] [stderr]   --> src/process.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 45 | /     run_cmd(c, String::from_utf8)
[INFO] [stderr] 46 | |         .with_context(|| format!("Failed to decode stdout of {} as utf-8.", c))?
[INFO] [stderr]    | |________________________________________________________________________________^ expected struct `anyhow::Error`, found struct `std::string::FromUtf8Error`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected enum `std::result::Result<_, anyhow::Error>`
[INFO] [stderr]               found enum `std::result::Result<_, std::string::FromUtf8Error>`
[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[E0308]: mismatched types
[INFO] [stderr]   --> src/process.rs:30:20
[INFO] [stderr]    |
[INFO] [stderr] 30 |           return Err(CommandError::Stderr(
[INFO] [stderr]    |  ____________________^
[INFO] [stderr] 31 | |             String::from_utf8(output.stderr).with_context(|| {
[INFO] [stderr] 32 | |                 format!(
[INFO] [stderr] 33 | |                     "Failed to decode stderr of {} as utf-8. Stderr (lossily decoded): {}",
[INFO] [stderr] ...  |
[INFO] [stderr] 37 | |             })?,
[INFO] [stderr] 38 | |         ));
[INFO] [stderr]    | |_________^ expected struct `anyhow::Error`, found enum `process::CommandError`
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `nix-options`.
[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[E0277]: `std::process::Command` doesn't implement `std::fmt::Display`
[INFO] [stderr]   --> src/process.rs:46:77
[INFO] [stderr]    |
[INFO] [stderr] 46 |         .with_context(|| format!("Failed to decode stdout of {} as utf-8.", c))?
[INFO] [stderr]    |                                                                             ^ `std::process::Command` cannot be formatted with the default formatter
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::fmt::Display` is not implemented for `std::process::Command`
[INFO] [stderr]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stderr]    = note: required because of the requirements on the impl of `std::fmt::Display` for `&mut std::process::Command`
[INFO] [stderr]    = note: required by `std::fmt::Display::fmt`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: try expression alternatives have incompatible types
[INFO] [stderr]   --> src/process.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 45 | /     run_cmd(c, String::from_utf8)
[INFO] [stderr] 46 | |         .with_context(|| format!("Failed to decode stdout of {} as utf-8.", c))?
[INFO] [stderr]    | |________________________________________________________________________________^ expected struct `anyhow::Error`, found struct `std::string::FromUtf8Error`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected enum `std::result::Result<_, anyhow::Error>`
[INFO] [stderr]               found enum `std::result::Result<_, std::string::FromUtf8Error>`
[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 `nix-options`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "557915b0b9d1d131677256eb02c7110f33ceb084b331cf15308d6ae9aea044be"`
[INFO] running `"docker" "rm" "-f" "557915b0b9d1d131677256eb02c7110f33ceb084b331cf15308d6ae9aea044be"`
[INFO] [stdout] 557915b0b9d1d131677256eb02c7110f33ceb084b331cf15308d6ae9aea044be
