[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] testing zhaomengru2015/rust-example against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaomengru2015%2Frust-example" "/workspace/builds/worker-93/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-93/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhaomengru2015/rust-example on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-93/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" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_chacha v0.3.1 [INFO] [stderr] Downloaded rand_core v0.6.3 [INFO] [stderr] Downloaded pin-project v1.0.8 [INFO] [stderr] Downloaded syn v1.0.75 [INFO] [stderr] Downloaded futures v0.3.16 [INFO] [stderr] Downloaded libc v0.2.97 [INFO] [stderr] Downloaded futures-channel v0.3.16 [INFO] [stderr] Downloaded futures-core v0.3.16 [INFO] [stderr] Downloaded futures-io v0.3.16 [INFO] [stderr] Downloaded futures-task v0.3.16 [INFO] [stderr] Downloaded slab v0.4.4 [INFO] [stderr] Downloaded rand_hc v0.3.1 [INFO] [stderr] Downloaded futures-util v0.3.16 [INFO] [stderr] Downloaded pin-project-lite v0.2.7 [INFO] [stderr] Downloaded pin-project-internal v1.0.8 [INFO] [stderr] Downloaded wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Downloaded rand v0.8.4 [INFO] [stderr] Downloaded futures-executor v0.3.16 [INFO] [stderr] Downloaded futures-macro v0.3.16 [INFO] [stderr] Downloaded futures-sink v0.3.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f44c5572ab7c5e2dc84df27b9450b21005203be21b27e264c3e021a5c6768df5 [INFO] running `Command { std: "docker" "start" "-a" "f44c5572ab7c5e2dc84df27b9450b21005203be21b27e264c3e021a5c6768df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f44c5572ab7c5e2dc84df27b9450b21005203be21b27e264c3e021a5c6768df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f44c5572ab7c5e2dc84df27b9450b21005203be21b27e264c3e021a5c6768df5", kill_on_drop: false }` [INFO] [stdout] f44c5572ab7c5e2dc84df27b9450b21005203be21b27e264c3e021a5c6768df5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d01afb41ceaad274bf4d4e5a16bee68d1704333528b4283ae69627393d58d47f [INFO] running `Command { std: "docker" "start" "-a" "d01afb41ceaad274bf4d4e5a16bee68d1704333528b4283ae69627393d58d47f", 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 futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [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] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling 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: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: 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] running `Command { std: "docker" "inspect" "d01afb41ceaad274bf4d4e5a16bee68d1704333528b4283ae69627393d58d47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d01afb41ceaad274bf4d4e5a16bee68d1704333528b4283ae69627393d58d47f", kill_on_drop: false }` [INFO] [stdout] d01afb41ceaad274bf4d4e5a16bee68d1704333528b4283ae69627393d58d47f