[INFO] cloning repository https://github.com/giuseppeCruised/TermType [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/giuseppeCruised/TermType" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgiuseppeCruised%2FTermType", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgiuseppeCruised%2FTermType'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62f1f564a5f09fc66d6add6661241e3687a78357 [INFO] testing giuseppeCruised/TermType against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgiuseppeCruised%2FTermType" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/giuseppeCruised/TermType on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/giuseppeCruised/TermType [INFO] finished tweaking git repo https://github.com/giuseppeCruised/TermType [INFO] tweaked toml for git repo https://github.com/giuseppeCruised/TermType written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/giuseppeCruised/TermType 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52be7b3aa0cad47d5f939656e4d7f4232d7b201443f69d8418b8f6f52a78be53 [INFO] running `Command { std: "docker" "start" "-a" "52be7b3aa0cad47d5f939656e4d7f4232d7b201443f69d8418b8f6f52a78be53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52be7b3aa0cad47d5f939656e4d7f4232d7b201443f69d8418b8f6f52a78be53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52be7b3aa0cad47d5f939656e4d7f4232d7b201443f69d8418b8f6f52a78be53", kill_on_drop: false }` [INFO] [stdout] 52be7b3aa0cad47d5f939656e4d7f4232d7b201443f69d8418b8f6f52a78be53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7411d76dd0eb7c27d7567f778a1329121086fa199950e2739b9345cb5d9d319 [INFO] running `Command { std: "docker" "start" "-a" "b7411d76dd0eb7c27d7567f778a1329121086fa199950e2739b9345cb5d9d319", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling TermType v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0593]: closure is expected to take a single 2-tuple as argument, but it takes 2 distinct arguments [INFO] [stdout] --> src/main.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | .map(|correct,guess| 1) [INFO] [stdout] | ^^^ --------------- takes 2 distinct arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes a single 2-tuple as argument [INFO] [stdout] | [INFO] [stdout] help: change the closure to accept a tuple instead of individual arguments [INFO] [stdout] | [INFO] [stdout] 78 | .map(|(correct, guess)| 1) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_dictionary(name: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_char_amount` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut total_char_amount: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_char_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrong_char_amount` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut wrong_char_amount: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrong_char_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut total_char_amount: usize = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut wrong_char_amount: usize = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] [INFO] [stderr] error: could not compile `TermType` (bin "TermType") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b7411d76dd0eb7c27d7567f778a1329121086fa199950e2739b9345cb5d9d319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7411d76dd0eb7c27d7567f778a1329121086fa199950e2739b9345cb5d9d319", kill_on_drop: false }` [INFO] [stdout] b7411d76dd0eb7c27d7567f778a1329121086fa199950e2739b9345cb5d9d319