[INFO] cloning repository https://github.com/dgsantana/rs-bin_patcher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dgsantana/rs-bin_patcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgsantana%2Frs-bin_patcher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgsantana%2Frs-bin_patcher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c16d24d0d2e5cd395f4211041b1a05c220927b88
[INFO] documenting dgsantana/rs-bin_patcher against 1.62.0 for beta-1.63-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgsantana%2Frs-bin_patcher" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dgsantana/rs-bin_patcher on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dgsantana/rs-bin_patcher
[INFO] finished tweaking git repo https://github.com/dgsantana/rs-bin_patcher
[INFO] tweaked toml for git repo https://github.com/dgsantana/rs-bin_patcher written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/dgsantana/rs-bin_patcher already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_bytes v0.11.1
[INFO] [stderr]   Downloaded structopt-derive v0.4.7
[INFO] [stderr]   Downloaded structopt v0.3.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 47348eb47253bd3b328c27b36b51532f5d0a4a1715caf40154bebeafd7582af2
[INFO] running `Command { std: "docker" "start" "-a" "47348eb47253bd3b328c27b36b51532f5d0a4a1715caf40154bebeafd7582af2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "47348eb47253bd3b328c27b36b51532f5d0a4a1715caf40154bebeafd7582af2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47348eb47253bd3b328c27b36b51532f5d0a4a1715caf40154bebeafd7582af2", kill_on_drop: false }`
[INFO] [stdout] 47348eb47253bd3b328c27b36b51532f5d0a4a1715caf40154bebeafd7582af2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ba588213a982065eecf10859f36a18e3cb32f885ebdf811b12f0c3d6b341ed7
[INFO] running `Command { std: "docker" "start" "-a" "7ba588213a982065eecf10859f36a18e3cb32f885ebdf811b12f0c3d6b341ed7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]    Compiling syn v1.0.18
[INFO] [stderr]    Compiling libc v0.2.59
[INFO] [stderr]    Compiling serde v1.0.94
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.2
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling serde_derive v1.0.94
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling structopt-derive v0.4.7
[INFO] [stderr]     Checking bincode v1.2.1
[INFO] [stderr]     Checking serde_bytes v0.11.1
[INFO] [stderr]     Checking serde_json v1.0.40
[INFO] [stderr]     Checking structopt v0.3.14
[INFO] [stderr]  Documenting patcher v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0252]: the name `arg_enum` is defined multiple times
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::arg_enum;
[INFO] [stdout]   |     -------------- previous import of the macro `arg_enum` here
[INFO] [stdout] ...
[INFO] [stdout] 7 | use clap::arg_enum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ `arg_enum` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `arg_enum` must be defined only once in the macro namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `snafu`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use snafu::{ResultExt, Snafu};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `snafu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Snafu`
[INFO] [stdout]   --> src/main.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(Debug, Snafu)]
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `snafu` in this scope
[INFO] [stdout]   --> src/main.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 64 |     #[snafu(display("Unable to read source file {}: {}", path.display(), source))]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `snafu` in this scope
[INFO] [stdout]   --> src/main.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[snafu(display("Unable to read transformed file {}: {}", path.display(), source))]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `snafu` in this scope
[INFO] [stdout]   --> src/main.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 74 |     #[snafu(display("Unable to read test file for growing search data {}: {}", path.display(), source))]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `snafu` in this scope
[INFO] [stdout]   --> src/main.rs:79:7
[INFO] [stdout]    |
[INFO] [stdout] 79 |     #[snafu(display(
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `snafu` in this scope
[INFO] [stdout]   --> src/main.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 |     #[snafu(display("Unable to read patch file {}: {}", path.display(), source))]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `snafu` in this scope
[INFO] [stdout]   --> src/main.rs:95:7
[INFO] [stdout]    |
[INFO] [stdout] 95 |     #[snafu(display("Error converting path to json {:?}: {}", patch, source))]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `snafu` in this scope
[INFO] [stdout]    --> src/main.rs:100:7
[INFO] [stdout]     |
[INFO] [stdout] 100 |     #[snafu(display("Unable to write patch file {}: {}", path.display(), source))]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `snafu` in this scope
[INFO] [stdout]    --> src/main.rs:105:7
[INFO] [stdout]     |
[INFO] [stdout] 105 |     #[snafu(display("Unable to write patched file {}: {}", path.display(), source))]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `patcher`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name patcher src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=004157a5bfcc6208 -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-d51e062bf7d44c19.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-6d5acf7f32601a43.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-484f27f36187ff5d.rmeta --extern serde_bytes=/opt/rustwide/target/debug/deps/libserde_bytes-dcd878596420a312.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-db8647f53457dd31.rmeta --extern structopt=/opt/rustwide/target/debug/deps/libstructopt-3e1f19579ceedb5c.rmeta --cap-lints=warn --crate-version 1.0.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "7ba588213a982065eecf10859f36a18e3cb32f885ebdf811b12f0c3d6b341ed7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ba588213a982065eecf10859f36a18e3cb32f885ebdf811b12f0c3d6b341ed7", kill_on_drop: false }`
[INFO] [stdout] 7ba588213a982065eecf10859f36a18e3cb32f885ebdf811b12f0c3d6b341ed7
