[INFO] cloning repository https://github.com/rozhkovdmitrii/naive-peer-exchange [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rozhkovdmitrii/naive-peer-exchange" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frozhkovdmitrii%2Fnaive-peer-exchange", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frozhkovdmitrii%2Fnaive-peer-exchange'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a6447db404b94c4b6cbbdd0fa1d0922344fab1d [INFO] checking rozhkovdmitrii/naive-peer-exchange against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frozhkovdmitrii%2Fnaive-peer-exchange" "/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/rozhkovdmitrii/naive-peer-exchange on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rozhkovdmitrii/naive-peer-exchange [INFO] finished tweaking git repo https://github.com/rozhkovdmitrii/naive-peer-exchange [INFO] tweaked toml for git repo https://github.com/rozhkovdmitrii/naive-peer-exchange written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rozhkovdmitrii/naive-peer-exchange 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wheel_timer v0.3.1 [INFO] [stderr] Downloaded concolor-override v1.1.0 [INFO] [stderr] Downloaded clap v4.2.0 [INFO] [stderr] Downloaded clap_builder v4.2.0 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fff110db04e8a23eb847cce1d7279ee0f620380a65f9f64351cfeaf387d42283 [INFO] running `Command { std: "docker" "start" "-a" "fff110db04e8a23eb847cce1d7279ee0f620380a65f9f64351cfeaf387d42283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fff110db04e8a23eb847cce1d7279ee0f620380a65f9f64351cfeaf387d42283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff110db04e8a23eb847cce1d7279ee0f620380a65f9f64351cfeaf387d42283", kill_on_drop: false }` [INFO] [stdout] fff110db04e8a23eb847cce1d7279ee0f620380a65f9f64351cfeaf387d42283 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57fd35a91c6beac901c86590a2a0452d5c65f0b47d954afe7be65425eddc3ae2 [INFO] running `Command { std: "docker" "start" "-a" "57fd35a91c6beac901c86590a2a0452d5c65f0b47d954afe7be65425eddc3ae2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking anstyle-parse v0.1.1 [INFO] [stderr] Checking concolor-override v1.1.0 [INFO] [stderr] Checking concolor-query v0.3.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking anstyle v0.3.5 [INFO] [stderr] Checking wheel_timer v0.3.1 [INFO] [stderr] Checking clap_lex v0.4.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstream v0.2.6 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking clap_builder v4.2.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking clap v4.2.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking naive_p2p_lib v0.1.0 (/opt/rustwide/workdir/naive-p2p-lib) [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> naive-p2p-lib/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> naive-p2p-lib/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> naive-p2p-lib/src/peer_mng.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | known_peers.drain_filter(|peer_address| peer_address.as_str() == address.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> naive-p2p-lib/src/peer_mng.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | known_peers.drain_filter(|peer_address| peer_address.as_str() == address.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> naive-p2p-lib/src/peer_mng.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | let Some(mut conn_info) = guard.connections.get_mut(&conn_id) else { [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] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `naive_p2p_lib` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> naive-p2p-lib/src/peer_mng.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | let Some(mut conn_info) = guard.connections.get_mut(&conn_id) else { [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] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `naive_p2p_lib` (lib) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "57fd35a91c6beac901c86590a2a0452d5c65f0b47d954afe7be65425eddc3ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fd35a91c6beac901c86590a2a0452d5c65f0b47d954afe7be65425eddc3ae2", kill_on_drop: false }` [INFO] [stdout] 57fd35a91c6beac901c86590a2a0452d5c65f0b47d954afe7be65425eddc3ae2