[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennytm%2Fcustom_keylayout" "/workspace/builds/worker-12/source", kill_on_drop: false }` [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 beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6d88d2ee9fc235048d5d78e8f78805cf603506a859cdf6577c3f499f7b42586 [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" "a6d88d2ee9fc235048d5d78e8f78805cf603506a859cdf6577c3f499f7b42586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6d88d2ee9fc235048d5d78e8f78805cf603506a859cdf6577c3f499f7b42586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d88d2ee9fc235048d5d78e8f78805cf603506a859cdf6577c3f499f7b42586", kill_on_drop: false }` [INFO] [stdout] a6d88d2ee9fc235048d5d78e8f78805cf603506a859cdf6577c3f499f7b42586 [INFO] running `Command { std: "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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 685fc70ba342e95a2d1efc44fb9da0be34514f10c08b2ad81f4b26f32b111f38 [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" "685fc70ba342e95a2d1efc44fb9da0be34514f10c08b2ad81f4b26f32b111f38", kill_on_drop: false }` [INFO] [stderr] Checking itertools v0.4.19 [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] running `Command { std: "docker" "inspect" "685fc70ba342e95a2d1efc44fb9da0be34514f10c08b2ad81f4b26f32b111f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "685fc70ba342e95a2d1efc44fb9da0be34514f10c08b2ad81f4b26f32b111f38", kill_on_drop: false }` [INFO] [stdout] 685fc70ba342e95a2d1efc44fb9da0be34514f10c08b2ad81f4b26f32b111f38