[INFO] cloning repository https://github.com/zhaomengru2015/rust-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhaomengru2015/rust-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaomengru2015%2Frust-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaomengru2015%2Frust-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6befc20b84b53ae161bc3c8f28534a800598672 [INFO] checking zhaomengru2015/rust-example against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaomengru2015%2Frust-example" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhaomengru2015/rust-example on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhaomengru2015/rust-example [INFO] finished tweaking git repo https://github.com/zhaomengru2015/rust-example [INFO] tweaked toml for git repo https://github.com/zhaomengru2015/rust-example written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/zhaomengru2015/rust-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbb15975386e6695f499c05c0ccada2b1ba89ad76f6883c5ea311f930b53a4e5 [INFO] running `Command { std: "docker" "start" "-a" "dbb15975386e6695f499c05c0ccada2b1ba89ad76f6883c5ea311f930b53a4e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbb15975386e6695f499c05c0ccada2b1ba89ad76f6883c5ea311f930b53a4e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb15975386e6695f499c05c0ccada2b1ba89ad76f6883c5ea311f930b53a4e5", kill_on_drop: false }` [INFO] [stdout] dbb15975386e6695f499c05c0ccada2b1ba89ad76f6883c5ea311f930b53a4e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaa82ff5298c989c9568b76b0bd809d7cad0258534cf3af342d7f9ee7740268c [INFO] running `Command { std: "docker" "start" "-a" "aaa82ff5298c989c9568b76b0bd809d7cad0258534cf3af342d7f9ee7740268c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&mut self, args: u32) ->HashMap{ [INFO] [stdout] | ---------------- expected `HashMap` because of return type [INFO] [stdout] 21 | match self.value { [INFO] [stdout] 22 | Some(v) => v, [INFO] [stdout] | ^ expected struct `HashMap`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found type `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&mut self, args: u32) ->HashMap{ [INFO] [stdout] | ---------------- expected `HashMap` because of return type [INFO] [stdout] 21 | match self.value { [INFO] [stdout] 22 | Some(v) => v, [INFO] [stdout] | ^ expected struct `HashMap`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found type `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&mut self, args: u32) ->HashMap{ [INFO] [stdout] | ---------------- expected `HashMap` because of return type [INFO] [stdout] ... [INFO] [stdout] 26 | v [INFO] [stdout] | ^ expected struct `HashMap`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found type `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&mut self, args: u32) ->HashMap{ [INFO] [stdout] | ---------------- expected `HashMap` because of return type [INFO] [stdout] ... [INFO] [stdout] 26 | v [INFO] [stdout] | ^ expected struct `HashMap`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found type `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `HashMap` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | println!("v1:{},v2:{}",v1,v2); [INFO] [stdout] | ^^ `HashMap` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `HashMap` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `HashMap` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | println!("v1:{},v2:{}",v1,v2); [INFO] [stdout] | ^^ `HashMap` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `HashMap` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `HashMap` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | println!("v1:{},v2:{}",v1,v2); [INFO] [stdout] | ^^ `HashMap` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `HashMap` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `HashMap` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | println!("v1:{},v2:{}",v1,v2); [INFO] [stdout] | ^^ `HashMap` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `HashMap` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `example` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "aaa82ff5298c989c9568b76b0bd809d7cad0258534cf3af342d7f9ee7740268c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa82ff5298c989c9568b76b0bd809d7cad0258534cf3af342d7f9ee7740268c", kill_on_drop: false }` [INFO] [stdout] aaa82ff5298c989c9568b76b0bd809d7cad0258534cf3af342d7f9ee7740268c