[INFO] cloning repository https://github.com/kennytm/custom_keylayout [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kennytm/custom_keylayout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennytm%2Fcustom_keylayout"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennytm%2Fcustom_keylayout'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cdb3b874a96915b14070fabd0a01cfb460ec421e [INFO] checking kennytm/custom_keylayout against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennytm%2Fcustom_keylayout" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kennytm/custom_keylayout on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/kennytm/custom_keylayout [INFO] finished tweaking git repo https://github.com/kennytm/custom_keylayout [INFO] tweaked toml for git repo https://github.com/kennytm/custom_keylayout written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/kennytm/custom_keylayout already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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 `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+45d050cde277b22a755847338f2acc2c7b834141" "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] a7fead048827c057cd64e2ddc802ae93de4ad8393f497eabf8b18bc9f0e5b4fb [INFO] running `"docker" "start" "-a" "a7fead048827c057cd64e2ddc802ae93de4ad8393f497eabf8b18bc9f0e5b4fb"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking itoa v0.1.1 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking rand v0.4.6 [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 rand v0.3.23 [INFO] [stderr] Checking handlebars v0.16.1 [INFO] [stderr] Checking docopt v0.6.86 [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] [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 `"docker" "inspect" "a7fead048827c057cd64e2ddc802ae93de4ad8393f497eabf8b18bc9f0e5b4fb"` [INFO] running `"docker" "rm" "-f" "a7fead048827c057cd64e2ddc802ae93de4ad8393f497eabf8b18bc9f0e5b4fb"` [INFO] [stdout] a7fead048827c057cd64e2ddc802ae93de4ad8393f497eabf8b18bc9f0e5b4fb