[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 master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaomengru2015%2Frust-example" "/workspace/builds/worker-60/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-60/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhaomengru2015/rust-example on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-60/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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84a7dabc421f41ead400f93f5fd300da3a19f13c270e082e660276560db1db63 [INFO] running `Command { std: "docker" "start" "-a" "84a7dabc421f41ead400f93f5fd300da3a19f13c270e082e660276560db1db63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84a7dabc421f41ead400f93f5fd300da3a19f13c270e082e660276560db1db63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84a7dabc421f41ead400f93f5fd300da3a19f13c270e082e660276560db1db63", kill_on_drop: false }` [INFO] [stdout] 84a7dabc421f41ead400f93f5fd300da3a19f13c270e082e660276560db1db63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8d6b650b03c36109bc3c69a3e246ea17a2cea96efee1dff2b47d0503684b8fd [INFO] running `Command { std: "docker" "start" "-a" "c8d6b650b03c36109bc3c69a3e246ea17a2cea96efee1dff2b47d0503684b8fd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [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 slab v0.4.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [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[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[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: 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[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] [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" "c8d6b650b03c36109bc3c69a3e246ea17a2cea96efee1dff2b47d0503684b8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8d6b650b03c36109bc3c69a3e246ea17a2cea96efee1dff2b47d0503684b8fd", kill_on_drop: false }` [INFO] [stdout] c8d6b650b03c36109bc3c69a3e246ea17a2cea96efee1dff2b47d0503684b8fd