[INFO] updating cached repository https://github.com/9999years/nix-options [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b9363c0ea4b7b9f32748f2da5a954cd8a1e0ef2 [INFO] testing 9999years/nix-options against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F9999years%2Fnix-options" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/9999years/nix-options on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/9999years/nix-options already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.src [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b37528d70df9fe6a77427b780af37a5f26c1622c22beb95b6927343545df804 [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" "9b37528d70df9fe6a77427b780af37a5f26c1622c22beb95b6927343545df804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b37528d70df9fe6a77427b780af37a5f26c1622c22beb95b6927343545df804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b37528d70df9fe6a77427b780af37a5f26c1622c22beb95b6927343545df804", kill_on_drop: false }` [INFO] [stdout] 9b37528d70df9fe6a77427b780af37a5f26c1622c22beb95b6927343545df804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5cfc3c509a9db5fb3deb320c180e66c6ec583d644576f7c0598b5462fabfd9f9 [INFO] running `Command { std: "docker" "start" "-a" "5cfc3c509a9db5fb3deb320c180e66c6ec583d644576f7c0598b5462fabfd9f9", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.src [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling fuzzy-matcher v0.3.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling chrono v0.4.10 [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 thiserror-impl v1.0.10 [INFO] [stderr] Compiling proc-macro-error v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.8 [INFO] [stderr] Compiling darling_macro v0.10.2 [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] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/process.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/process.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::FromUtf8Error` [INFO] [stdout] --> src/process.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::string::FromUtf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `context` found for enum `process::CommandError` in the current scope [INFO] [stdout] --> src/process.rs:25:53 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum CommandError { [INFO] [stdout] | --------------------- method `context` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | CommandError::ExitStatus(output.status).context(format!("Process {} failed.", c)) [INFO] [stdout] | ^^^^^^^ method not found in `process::CommandError` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `context`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anyhow::Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::process::Command` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/process.rs:25:91 [INFO] [stdout] | [INFO] [stdout] 25 | CommandError::ExitStatus(output.status).context(format!("Process {} failed.", c)) [INFO] [stdout] | ^ `std::process::Command` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `std::process::Command` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Display` for `&mut std::process::Command` [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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/process.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | String::from_utf8_lossy(output.stderr) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[u8]`, found struct `std::vec::Vec` [INFO] [stdout] | help: consider borrowing here: `&output.stderr` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::process::Command` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/process.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | c, [INFO] [stdout] | ^ `std::process::Command` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `std::process::Command` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Display` for `&mut std::process::Command` [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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/process.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | return Err(CommandError::Stderr( [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | String::from_utf8(output.stderr).with_context(|| { [INFO] [stdout] 32 | | format!( [INFO] [stdout] 33 | | "Failed to decode stderr of {} as utf-8. Stderr (lossily decoded): {}", [INFO] [stdout] ... | [INFO] [stdout] 37 | | })?, [INFO] [stdout] 38 | | )); [INFO] [stdout] | |_________^ expected struct `anyhow::Error`, found enum `process::CommandError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::process::Command` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/process.rs:46:77 [INFO] [stdout] | [INFO] [stdout] 46 | .with_context(|| format!("Failed to decode stdout of {} as utf-8.", c))? [INFO] [stdout] | ^ `std::process::Command` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `std::process::Command` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Display` for `&mut std::process::Command` [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [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]: try expression alternatives have incompatible types [INFO] [stdout] --> src/process.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / run_cmd(c, String::from_utf8) [INFO] [stdout] 46 | | .with_context(|| format!("Failed to decode stdout of {} as utf-8.", c))? [INFO] [stdout] | |________________________________________________________________________________^ expected struct `anyhow::Error`, found struct `std::string::FromUtf8Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, anyhow::Error>` [INFO] [stdout] found enum `std::result::Result<_, std::string::FromUtf8Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings 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: 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 `Command { std: "docker" "inspect" "5cfc3c509a9db5fb3deb320c180e66c6ec583d644576f7c0598b5462fabfd9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cfc3c509a9db5fb3deb320c180e66c6ec583d644576f7c0598b5462fabfd9f9", kill_on_drop: false }` [INFO] [stdout] 5cfc3c509a9db5fb3deb320c180e66c6ec583d644576f7c0598b5462fabfd9f9