[INFO] updating cached repository https://github.com/softprops/johan [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c2fb62570bbcc377ae7dc3efe794ef7cb5b06563 [INFO] checking softprops/johan against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftprops%2Fjohan" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/softprops/johan on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/softprops/johan [INFO] finished tweaking git repo https://github.com/softprops/johan [INFO] tweaked toml for git repo https://github.com/softprops/johan written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/softprops/johan already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "RUSTFLAGS=--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" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e0234f158bfd2ac58f67fae2262fed20f81a5505e61555b1314bbe72c6e1a98e [INFO] running `"docker" "start" "-a" "e0234f158bfd2ac58f67fae2262fed20f81a5505e61555b1314bbe72c6e1a98e"` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking itoa v0.1.1 [INFO] [stderr] Checking serde v0.7.15 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking atty v0.1.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_json v0.7.4 [INFO] [stderr] Checking handlebars v0.16.1 [INFO] [stderr] error[E0252]: the name `ToJson` is defined multiple times [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/registry.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 7 | use serialize::json::ToJson; [INFO] [stderr] | ----------------------- previous import of the trait `ToJson` here [INFO] [stderr] 8 | #[cfg(feature = "serde_type")] [INFO] [stderr] 9 | use serde::ser::Serialize as ToJson; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ToJson` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `ToJson` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 9 | use serde::ser::Serialize as OtherToJson; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `Json` is defined multiple times [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/render.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 8 | use serialize::json::Json; [INFO] [stderr] | --------------------- previous import of the type `Json` here [INFO] [stderr] 9 | #[cfg(feature = "serde_type")] [INFO] [stderr] 10 | use serde_json::value::Value as Json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Json` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `Json` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 10 | use serde_json::value::Value as OtherJson; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `Json` is defined multiple times [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/helpers/helper_each.rs:4:31 [INFO] [stderr] | [INFO] [stderr] 2 | use serialize::json::{Json, ToJson}; [INFO] [stderr] | ---- previous import of the type `Json` here [INFO] [stderr] 3 | #[cfg(feature = "serde_type")] [INFO] [stderr] 4 | use serde_json::value::{self, Value as Json}; [INFO] [stderr] | ^^^^^^^^^^^^^ `Json` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `Json` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::value::{self, Value as OtherJson}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `Json` is defined multiple times [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/context.rs:7:31 [INFO] [stderr] | [INFO] [stderr] 2 | use serialize::json::{Json, ToJson}; [INFO] [stderr] | ---- previous import of the type `Json` here [INFO] [stderr] ... [INFO] [stderr] 7 | use serde_json::value::{self, Value as Json}; [INFO] [stderr] | ^^^^^^^^^^^^^ `Json` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `Json` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 7 | use serde_json::value::{self, Value as OtherJson}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0201]: duplicate definitions with name `call`: [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/helpers/helper_each.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 17 | / fn call(&self, [INFO] [stderr] 18 | | c: &Context, [INFO] [stderr] 19 | | h: &Helper, [INFO] [stderr] 20 | | r: &Registry, [INFO] [stderr] ... | [INFO] [stderr] 76 | | } [INFO] [stderr] 77 | | } [INFO] [stderr] | |_____- previous definition of `call` here [INFO] [stderr] ... [INFO] [stderr] 80 | / fn call(&self, [INFO] [stderr] 81 | | c: &Context, [INFO] [stderr] 82 | | h: &Helper, [INFO] [stderr] 83 | | r: &Registry, [INFO] [stderr] ... | [INFO] [stderr] 139 | | } [INFO] [stderr] 140 | | } [INFO] [stderr] | |_____^ duplicate definition [INFO] [stderr] [INFO] [stderr] error[E0201]: duplicate definitions with name `wraps`: [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/context.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 73 | / pub fn wraps(e: &T) -> Context { [INFO] [stderr] 74 | | Context { data: e.to_json() } [INFO] [stderr] 75 | | } [INFO] [stderr] | |_____- previous definition of `wraps` here [INFO] [stderr] ... [INFO] [stderr] 79 | / pub fn wraps(e: &T) -> Context { [INFO] [stderr] 80 | | Context { data: value::to_value(e) } [INFO] [stderr] 81 | | } [INFO] [stderr] | |_____^ duplicate definition [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0201, E0252. [INFO] [stderr] For more information about an error, try `rustc --explain E0201`. [INFO] [stderr] error: could not compile `handlebars`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "e0234f158bfd2ac58f67fae2262fed20f81a5505e61555b1314bbe72c6e1a98e"` [INFO] running `"docker" "rm" "-f" "e0234f158bfd2ac58f67fae2262fed20f81a5505e61555b1314bbe72c6e1a98e"` [INFO] [stdout] e0234f158bfd2ac58f67fae2262fed20f81a5505e61555b1314bbe72c6e1a98e