[INFO] cloning repository https://github.com/kennytm/custom_keylayout [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennytm%2Fcustom_keylayout'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdb3b874a96915b14070fabd0a01cfb460ec421e [INFO] checking kennytm/custom_keylayout against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennytm%2Fcustom_keylayout" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kennytm/custom_keylayout on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] crate git repo https://github.com/kennytm/custom_keylayout already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87c1ed627631a71509f07553c813686d8f370593e6808eb9545997101365b392 [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" "87c1ed627631a71509f07553c813686d8f370593e6808eb9545997101365b392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87c1ed627631a71509f07553c813686d8f370593e6808eb9545997101365b392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87c1ed627631a71509f07553c813686d8f370593e6808eb9545997101365b392", kill_on_drop: false }` [INFO] [stdout] 87c1ed627631a71509f07553c813686d8f370593e6808eb9545997101365b392 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "RUSTFLAGS=--cap-lints=forbid" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 076112109f220b4bfbd5949578a6e9109090c3a76daf96f0d2d9138e0973e7d8 [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" "076112109f220b4bfbd5949578a6e9109090c3a76daf96f0d2d9138e0973e7d8", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking encoding v0.2.33 [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 docopt v0.6.86 [INFO] [stderr] Checking handlebars v0.16.1 [INFO] [stdout] error[E0252]: the name `ToJson` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/registry.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serialize::json::ToJson; [INFO] [stdout] | ----------------------- previous import of the trait `ToJson` here [INFO] [stdout] 8 | #[cfg(feature = "serde_type")] [INFO] [stdout] 9 | use serde::ser::Serialize as ToJson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ToJson` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `ToJson` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 9 | use serde::ser::Serialize as OtherToJson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Json` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/render.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serialize::json::Json; [INFO] [stdout] | --------------------- previous import of the type `Json` here [INFO] [stdout] 9 | #[cfg(feature = "serde_type")] [INFO] [stdout] 10 | use serde_json::value::Value as Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Json` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Json` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json::value::Value as OtherJson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Json` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/helpers/helper_each.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 2 | use serialize::json::{Json, ToJson}; [INFO] [stdout] | ---- previous import of the type `Json` here [INFO] [stdout] 3 | #[cfg(feature = "serde_type")] [INFO] [stdout] 4 | use serde_json::value::{self, Value as Json}; [INFO] [stdout] | ^^^^^^^^^^^^^ `Json` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Json` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::value::{self, Value as OtherJson}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Json` is defined multiple times [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/context.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 2 | use serialize::json::{Json, ToJson}; [INFO] [stdout] | ---- previous import of the type `Json` here [INFO] [stdout] ... [INFO] [stdout] 7 | use serde_json::value::{self, Value as Json}; [INFO] [stdout] | ^^^^^^^^^^^^^ `Json` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Json` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::value::{self, Value as OtherJson}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `call`: [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/helpers/helper_each.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 17 | / fn call(&self, [INFO] [stdout] 18 | | c: &Context, [INFO] [stdout] 19 | | h: &Helper, [INFO] [stdout] 20 | | r: &Registry, [INFO] [stdout] ... | [INFO] [stdout] 76 | | } [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____- previous definition of `call` here [INFO] [stdout] ... [INFO] [stdout] 80 | / fn call(&self, [INFO] [stdout] 81 | | c: &Context, [INFO] [stdout] 82 | | h: &Helper, [INFO] [stdout] 83 | | r: &Registry, [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____^ duplicate definition [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wraps`: [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/handlebars-0.16.1/src/context.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 73 | / pub fn wraps(e: &T) -> Context { [INFO] [stdout] 74 | | Context { data: e.to_json() } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_____- previous definition of `wraps` here [INFO] [stdout] ... [INFO] [stdout] 79 | / pub fn wraps(e: &T) -> Context { [INFO] [stdout] 80 | | Context { data: value::to_value(e) } [INFO] [stdout] 81 | | } [INFO] [stdout] | |_____^ duplicate definition [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0201, E0252. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0201`. [INFO] [stdout] [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 `Command { std: "docker" "inspect" "076112109f220b4bfbd5949578a6e9109090c3a76daf96f0d2d9138e0973e7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076112109f220b4bfbd5949578a6e9109090c3a76daf96f0d2d9138e0973e7d8", kill_on_drop: false }` [INFO] [stdout] 076112109f220b4bfbd5949578a6e9109090c3a76daf96f0d2d9138e0973e7d8