[INFO] cloning repository https://github.com/ermz/kvstore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ermz/kvstore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fermz%2Fkvstore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fermz%2Fkvstore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3849502a94c13a93049a894990bd73510dbd57d4 [INFO] checking ermz/kvstore against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fermz%2Fkvstore" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ermz/kvstore on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ermz/kvstore [INFO] finished tweaking git repo https://github.com/ermz/kvstore [INFO] tweaked toml for git repo https://github.com/ermz/kvstore written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ermz/kvstore already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 076a6b983af7a76d59449f8d7461ba559ae577fdb6eb47cfbe02ba11bc291575 [INFO] running `Command { std: "docker" "start" "-a" "076a6b983af7a76d59449f8d7461ba559ae577fdb6eb47cfbe02ba11bc291575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "076a6b983af7a76d59449f8d7461ba559ae577fdb6eb47cfbe02ba11bc291575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076a6b983af7a76d59449f8d7461ba559ae577fdb6eb47cfbe02ba11bc291575", kill_on_drop: false }` [INFO] [stdout] 076a6b983af7a76d59449f8d7461ba559ae577fdb6eb47cfbe02ba11bc291575 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 101b02a58de7aeaebd886c51733919fbd876d59a3e6f01e268cfefb4d4ffaa5b [INFO] running `Command { std: "docker" "start" "-a" "101b02a58de7aeaebd886c51733919fbd876d59a3e6f01e268cfefb4d4ffaa5b", kill_on_drop: false }` [INFO] [stderr] Checking kvstore v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 43 | map.insert(key, value); [INFO] [stdout] | --- ---- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | this argument has type `&str`... [INFO] [stdout] | ... which causes `map` to have type `HashMap<&str, &str>` [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(Database{ map: map}) [INFO] [stdout] | ^^^ expected `HashMap`, found `HashMap<&str, &str>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found struct `HashMap<&str, &str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 43 | map.insert(key, value); [INFO] [stdout] | --- ---- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | this argument has type `&str`... [INFO] [stdout] | ... which causes `map` to have type `HashMap<&str, &str>` [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(Database{ map: map}) [INFO] [stdout] | ^^^ expected `HashMap`, found `HashMap<&str, &str>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found struct `HashMap<&str, &str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kvstore` (bin "kvstore") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kvstore` (bin "kvstore" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "101b02a58de7aeaebd886c51733919fbd876d59a3e6f01e268cfefb4d4ffaa5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101b02a58de7aeaebd886c51733919fbd876d59a3e6f01e268cfefb4d4ffaa5b", kill_on_drop: false }` [INFO] [stdout] 101b02a58de7aeaebd886c51733919fbd876d59a3e6f01e268cfefb4d4ffaa5b