[INFO] cloning 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" "clone" "--bare" "https://github.com/9999years/nix-options" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F9999years%2Fnix-options", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F9999years%2Fnix-options'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b9363c0ea4b7b9f32748f2da5a954cd8a1e0ef2 [INFO] documenting 9999years/nix-options against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F9999years%2Fnix-options" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/9999years/nix-options on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "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-4/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" "+1.46.0" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d223717f8583c55c9a78d5b62a48855d18d5fc738e8602deae8c4e01405753b7 [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" "d223717f8583c55c9a78d5b62a48855d18d5fc738e8602deae8c4e01405753b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d223717f8583c55c9a78d5b62a48855d18d5fc738e8602deae8c4e01405753b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d223717f8583c55c9a78d5b62a48855d18d5fc738e8602deae8c4e01405753b7", kill_on_drop: false }` [INFO] [stdout] d223717f8583c55c9a78d5b62a48855d18d5fc738e8602deae8c4e01405753b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] 6e6aaef98a7a379339e3efcd33874078b280ec9d085b13a05996038c8de71f26 [INFO] running `Command { std: "docker" "start" "-a" "6e6aaef98a7a379339e3efcd33874078b280ec9d085b13a05996038c8de71f26", 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 (149022b1d 2020-07-17) 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 syn v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Checking fuzzy-matcher v0.3.3 [INFO] [stderr] Checking dirs v1.0.5 [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 clap v2.33.0 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking timer v0.2.0 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking rayon v1.3.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 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] 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" "6e6aaef98a7a379339e3efcd33874078b280ec9d085b13a05996038c8de71f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e6aaef98a7a379339e3efcd33874078b280ec9d085b13a05996038c8de71f26", kill_on_drop: false }` [INFO] [stdout] 6e6aaef98a7a379339e3efcd33874078b280ec9d085b13a05996038c8de71f26