[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#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [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 f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 863623e5e9888482e2a64bc8a1ef96e250956f4c5108cf214b6694425c907311 [INFO] running `Command { std: "docker" "start" "-a" "863623e5e9888482e2a64bc8a1ef96e250956f4c5108cf214b6694425c907311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "863623e5e9888482e2a64bc8a1ef96e250956f4c5108cf214b6694425c907311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863623e5e9888482e2a64bc8a1ef96e250956f4c5108cf214b6694425c907311", kill_on_drop: false }` [INFO] [stdout] 863623e5e9888482e2a64bc8a1ef96e250956f4c5108cf214b6694425c907311 [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=forbid" "-e" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f16a7914786fad5b9d557566888026752494490c508eb9d9e1954cf1d21b19e [INFO] running `Command { std: "docker" "start" "-a" "0f16a7914786fad5b9d557566888026752494490c508eb9d9e1954cf1d21b19e", 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 unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [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 recursive_data_structures v0.0.1 (/opt/rustwide/workdir/recursive_data_structures) [INFO] [stderr] Checking code_challenges v0.0.1 (/opt/rustwide/workdir/code_challenges) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> recursive_data_structures/src/binary_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> recursive_data_structures/src/linked_list_v2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> recursive_data_structures/src/binary_tree.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Link<'a, T> = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryTree` is never constructed [INFO] [stdout] --> recursive_data_structures/src/binary_tree.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct BinaryTree<'a, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> recursive_data_structures/src/binary_tree.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a, T: PartialEq + PartialOrd> BinaryTree<'a, T> { [INFO] [stdout] | ----------------------------------------------------- method in this implementation [INFO] [stdout] 13 | pub fn insert(&mut self, new_elem: &'a T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elem` is never read [INFO] [stdout] --> recursive_data_structures/src/linked_list_v2.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | elem: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peek`, and `peek_mut` are never used [INFO] [stdout] --> recursive_data_structures/src/linked_list_v2.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl LinkedListV2 { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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] [stderr] Checking channels v0.1.0 (/opt/rustwide/workdir/channels) [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: aborting due to 3 previous errors [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 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> recursive_data_structures/src/binary_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> recursive_data_structures/src/linked_list_v2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> channels/src/mpsc/mpsc.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Sender { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 13 | pub fn send(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> channels/src/mpsc/mpsc.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> channels/src/mpsc/mpsc.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Sender { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 13 | pub fn send(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> channels/src/mpsc/mpsc.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> recursive_data_structures/src/binary_tree.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | type Link<'a, T> = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryTree` is never constructed [INFO] [stdout] --> recursive_data_structures/src/binary_tree.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct BinaryTree<'a, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> recursive_data_structures/src/binary_tree.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a, T: PartialEq + PartialOrd> BinaryTree<'a, T> { [INFO] [stdout] | ----------------------------------------------------- method in this implementation [INFO] [stdout] 13 | pub fn insert(&mut self, new_elem: &'a T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0f16a7914786fad5b9d557566888026752494490c508eb9d9e1954cf1d21b19e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f16a7914786fad5b9d557566888026752494490c508eb9d9e1954cf1d21b19e", kill_on_drop: false }` [INFO] [stdout] 0f16a7914786fad5b9d557566888026752494490c508eb9d9e1954cf1d21b19e