[INFO] updating cached 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" "-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] c16d24d0d2e5cd395f4211041b1a05c220927b88 [INFO] documenting dgsantana/rs-bin_patcher against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgsantana%2Frs-bin_patcher" "/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/dgsantana/rs-bin_patcher 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/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-6/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] 7ce05e3556c8a762bbdf9d6643b2866b61ec5837b9e8862196a479d3acb7bc05 [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" "7ce05e3556c8a762bbdf9d6643b2866b61ec5837b9e8862196a479d3acb7bc05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ce05e3556c8a762bbdf9d6643b2866b61ec5837b9e8862196a479d3acb7bc05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ce05e3556c8a762bbdf9d6643b2866b61ec5837b9e8862196a479d3acb7bc05", kill_on_drop: false }` [INFO] [stdout] 7ce05e3556c8a762bbdf9d6643b2866b61ec5837b9e8862196a479d3acb7bc05 [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] 0122a6f0379ac60155c7956530aa004679c960f9796d94fefcd50f9873a02801 [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" "0122a6f0379ac60155c7956530aa004679c960f9796d94fefcd50f9873a02801", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Checking structopt v0.3.15 [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-a609f86f3e8ead0a.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-4966c09df0268022.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-d639391ee1ec3d8b.rmeta --extern serde_bytes=/opt/rustwide/target/debug/deps/libserde_bytes-7450f9fa81a96643.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-8cdbef09b2155863.rmeta --extern structopt=/opt/rustwide/target/debug/deps/libstructopt-6b9d246a351fd1ca.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "0122a6f0379ac60155c7956530aa004679c960f9796d94fefcd50f9873a02801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0122a6f0379ac60155c7956530aa004679c960f9796d94fefcd50f9873a02801", kill_on_drop: false }` [INFO] [stdout] 0122a6f0379ac60155c7956530aa004679c960f9796d94fefcd50f9873a02801