[INFO] cloning repository https://github.com/flarocca/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flarocca/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflarocca%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflarocca%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd0bc03b2509307b3c59092b55d4044381656fc7 [INFO] checking flarocca/rust-playground/cd0bc03b2509307b3c59092b55d4044381656fc7 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflarocca%2Frust-playground" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flarocca/rust-playground on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flarocca/rust-playground [INFO] finished tweaking git repo https://github.com/flarocca/rust-playground [INFO] tweaked toml for git repo https://github.com/flarocca/rust-playground written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/flarocca/rust-playground 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72a66a72e189551960ddc68544abf5b8f3f4dfdea8b6a2f69132af2395153596 [INFO] running `Command { std: "docker" "start" "-a" "72a66a72e189551960ddc68544abf5b8f3f4dfdea8b6a2f69132af2395153596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72a66a72e189551960ddc68544abf5b8f3f4dfdea8b6a2f69132af2395153596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a66a72e189551960ddc68544abf5b8f3f4dfdea8b6a2f69132af2395153596", kill_on_drop: false }` [INFO] [stdout] 72a66a72e189551960ddc68544abf5b8f3f4dfdea8b6a2f69132af2395153596 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5257a264289d846d55eb23431fc9c6a314913a3ef99f549cc7d20a5b04849be6 [INFO] running `Command { std: "docker" "start" "-a" "5257a264289d846d55eb23431fc9c6a314913a3ef99f549cc7d20a5b04849be6", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking code_challenges v0.0.1 (/opt/rustwide/workdir/code_challenges) [INFO] [stdout] error[E0425]: cannot find value `inner_value` in this scope [INFO] [stdout] --> code_challenges/src/main.rs:174:65 [INFO] [stdout] | [INFO] [stdout] 174 | extract_coincidenses(inner[1].to_vec(), inner_value.to_vec()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for reference `&str` in the current scope [INFO] [stdout] --> code_challenges/src/main.rs:174:55 [INFO] [stdout] | [INFO] [stdout] 174 | extract_coincidenses(inner[1].to_vec(), inner_value.to_vec()); [INFO] [stdout] | ^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code_challenges/src/main.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 161 | fn find_pairs_v2(enrollments: Vec>) -> HashMap> { [INFO] [stdout] | ---------------------------- expected `HashMap>` because of return type [INFO] [stdout] ... [INFO] [stdout] 175 | result.insert(composed_key, coincidences); [INFO] [stdout] | ------ ------------ this argument has type `(String, String)`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `result` to have type `HashMap<(String, String), Vec>` [INFO] [stdout] ... [INFO] [stdout] 181 | result [INFO] [stdout] | ^^^^^^ expected `HashMap>`, found `HashMap<(String, String), Vec<...>>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found struct `HashMap<(String, String), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `inner_value` in this scope [INFO] [stdout] --> code_challenges/src/main.rs:174:65 [INFO] [stdout] | [INFO] [stdout] 174 | extract_coincidenses(inner[1].to_vec(), inner_value.to_vec()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for reference `&str` in the current scope [INFO] [stdout] --> code_challenges/src/main.rs:174:55 [INFO] [stdout] | [INFO] [stdout] 174 | extract_coincidenses(inner[1].to_vec(), inner_value.to_vec()); [INFO] [stdout] | ^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `code_challenges` (bin "code_challenges" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code_challenges/src/main.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 161 | fn find_pairs_v2(enrollments: Vec>) -> HashMap> { [INFO] [stdout] | ---------------------------- expected `HashMap>` because of return type [INFO] [stdout] ... [INFO] [stdout] 175 | result.insert(composed_key, coincidences); [INFO] [stdout] | ------ ------------ this argument has type `(String, String)`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `result` to have type `HashMap<(String, String), Vec>` [INFO] [stdout] ... [INFO] [stdout] 181 | result [INFO] [stdout] | ^^^^^^ expected `HashMap>`, found `HashMap<(String, String), Vec<...>>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap` [INFO] [stdout] found struct `HashMap<(String, String), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `code_challenges` (bin "code_challenges") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "5257a264289d846d55eb23431fc9c6a314913a3ef99f549cc7d20a5b04849be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5257a264289d846d55eb23431fc9c6a314913a3ef99f549cc7d20a5b04849be6", kill_on_drop: false }` [INFO] [stdout] 5257a264289d846d55eb23431fc9c6a314913a3ef99f549cc7d20a5b04849be6