[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.47.0 for beta-1.48-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgsantana%2Frs-bin_patcher" "/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/dgsantana/rs-bin_patcher on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2e276a96abb9fa143bf092835d02fe58b58d751d2df1515ac022786005618661
[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" "2e276a96abb9fa143bf092835d02fe58b58d751d2df1515ac022786005618661", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e276a96abb9fa143bf092835d02fe58b58d751d2df1515ac022786005618661", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e276a96abb9fa143bf092835d02fe58b58d751d2df1515ac022786005618661", kill_on_drop: false }`
[INFO] [stdout] 2e276a96abb9fa143bf092835d02fe58b58d751d2df1515ac022786005618661
[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.47.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eee3c703906ca49329742894afee49674eb309d97243505064ebf45c83672346
[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" "eee3c703906ca49329742894afee49674eb309d97243505064ebf45c83672346", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]    Compiling structopt-derive v0.4.13
[INFO] [stderr]     Checking structopt v0.3.20
[INFO] [stderr]     Checking serde_bytes v0.11.5
[INFO] [stderr]     Checking bincode v1.3.1
[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 type 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 --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern bincode=/opt/rustwide/target/debug/deps/libbincode-7de75cf65b20ab02.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-15ce467a31897e75.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-7a48be7d7c854e7f.rmeta --extern serde_bytes=/opt/rustwide/target/debug/deps/libserde_bytes-c21899137859c2ec.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-1a80678796def7c7.rmeta --extern structopt=/opt/rustwide/target/debug/deps/libstructopt-a04ed99971089e3e.rmeta --cap-lints=warn --crate-version 1.0.0` (exit code: 1)
[INFO] running `Command { std: "docker" "inspect" "eee3c703906ca49329742894afee49674eb309d97243505064ebf45c83672346", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eee3c703906ca49329742894afee49674eb309d97243505064ebf45c83672346", kill_on_drop: false }`
[INFO] [stdout] eee3c703906ca49329742894afee49674eb309d97243505064ebf45c83672346
