[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] documenting 9999years/nix-options against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F9999years%2Fnix-options" "/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/9999years/nix-options on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "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-6/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.src [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" "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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce073e98818efc186772700d97a7178311ea4a466d3cc11918604a02566ff252 [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" "ce073e98818efc186772700d97a7178311ea4a466d3cc11918604a02566ff252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce073e98818efc186772700d97a7178311ea4a466d3cc11918604a02566ff252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce073e98818efc186772700d97a7178311ea4a466d3cc11918604a02566ff252", kill_on_drop: false }` [INFO] [stdout] ce073e98818efc186772700d97a7178311ea4a466d3cc11918604a02566ff252 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e737005f3ba4b35c9ec9bb627a0d841dfae640e2cc73fb1135d4876842e81b2b [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" "e737005f3ba4b35c9ec9bb627a0d841dfae640e2cc73fb1135d4876842e81b2b", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.src [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The bin target `nix-options` in package `nix-options v0.1.0 (/opt/rustwide/workdir)` has the same output filename as the lib target `nix_options` in package `nix-options v0.1.0 (/opt/rustwide/workdir)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/doc/nix_options/index.html [INFO] [stderr] The output filenames should be unique. [INFO] [stderr] This is a known bug where multiple crates with the same name use [INFO] [stderr] the same path; see . [INFO] [stderr] If this looks unexpected, it may be a bug in Cargo. Please file a bug report at [INFO] [stderr] https://github.com/rust-lang/cargo/issues/ with as much information as you [INFO] [stderr] can provide. [INFO] [stderr] cargo 1.46.0-nightly (c26576f9a 2020-06-23) running on `x86_64-unknown-linux-gnu` target `x86_64-unknown-linux-gnu` [INFO] [stderr] First unit: Unit { pkg: Package { id: PackageId { name: "nix-options", version: "0.1.0", source: "/opt/rustwide/workdir" }, ..: ".." }, target: TargetInner { name: "nix-options", doc: true, ..: with_path("/opt/rustwide/workdir/src/main.rs", Edition2018) }, profile: Profile { name: "doc", debuginfo: Some(2), debug_assertions: true, overflow_checks: true, ..: default() }, kind: Host, mode: Doc { deps: false }, features: [] } [INFO] [stderr] Second unit: Unit { pkg: Package { id: PackageId { name: "nix-options", version: "0.1.0", source: "/opt/rustwide/workdir" }, ..: ".." }, target: TargetInner { ..: lib_target("nix_options", ["lib"], "/opt/rustwide/workdir/src/lib.rs", Edition2018) }, profile: Profile { name: "doc", debuginfo: Some(2), debug_assertions: true, overflow_checks: true, ..: default() }, kind: Host, mode: Doc { deps: false }, features: [] } [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Checking fuzzy-matcher v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Checking timer v0.2.0 [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 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] Checking thiserror v1.0.10 [INFO] [stderr] Compiling structopt-derive v0.4.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling derive_builder v0.9.0 [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] Documenting 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" "e737005f3ba4b35c9ec9bb627a0d841dfae640e2cc73fb1135d4876842e81b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e737005f3ba4b35c9ec9bb627a0d841dfae640e2cc73fb1135d4876842e81b2b", kill_on_drop: false }` [INFO] [stdout] e737005f3ba4b35c9ec9bb627a0d841dfae640e2cc73fb1135d4876842e81b2b