[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] testing 9999years/nix-options against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F9999years%2Fnix-options" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/9999years/nix-options on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-10/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" "+1.44.0" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a09c19a3abd1b3eb00daebf46acf7b486e06b820c1bf753105327f4452c6027c [INFO] running `"docker" "start" "-a" "a09c19a3abd1b3eb00daebf46acf7b486e06b820c1bf753105327f4452c6027c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused manifest key: bin.0.src [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Compiling fuzzy-matcher v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling console v0.9.2 [INFO] [stderr] Compiling tuikit v0.2.9 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.2 [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] Compiling 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] Compiling skim v0.7.0 [INFO] [stderr] Compiling structopt v0.3.9 [INFO] [stderr] Compiling 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] 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` [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[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; 3 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "a09c19a3abd1b3eb00daebf46acf7b486e06b820c1bf753105327f4452c6027c"` [INFO] running `"docker" "rm" "-f" "a09c19a3abd1b3eb00daebf46acf7b486e06b820c1bf753105327f4452c6027c"` [INFO] [stdout] a09c19a3abd1b3eb00daebf46acf7b486e06b820c1bf753105327f4452c6027c