[INFO] cloning repository https://github.com/Emerentius/drain_experiments
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emerentius/drain_experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmerentius%2Fdrain_experiments", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmerentius%2Fdrain_experiments'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5d693978cc0ae5cbb701145ae3d12f15e8ac80e7
[INFO] checking Emerentius/drain_experiments/5d693978cc0ae5cbb701145ae3d12f15e8ac80e7 against 1ed2df61a19042f231709eb05d032ae9e2cb2084 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmerentius%2Fdrain_experiments" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Emerentius/drain_experiments
[INFO] finished tweaking git repo https://github.com/Emerentius/drain_experiments
[INFO] tweaked toml for git repo https://github.com/Emerentius/drain_experiments written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Emerentius/drain_experiments on toolchain 1ed2df61a19042f231709eb05d032ae9e2cb2084
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Emerentius/drain_experiments 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" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `try_drain` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fff2743a00e8bfc5fe38bf63ca3ce8eb05c3909442f9706639bb343a45acc554
[INFO] running `Command { std: "docker" "start" "fff2743a00e8bfc5fe38bf63ca3ce8eb05c3909442f9706639bb343a45acc554", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fff2743a00e8bfc5fe38bf63ca3ce8eb05c3909442f9706639bb343a45acc554", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fff2743a00e8bfc5fe38bf63ca3ce8eb05c3909442f9706639bb343a45acc554" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fff2743a00e8bfc5fe38bf63ca3ce8eb05c3909442f9706639bb343a45acc554", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fff2743a00e8bfc5fe38bf63ca3ce8eb05c3909442f9706639bb343a45acc554" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `try_drain` (manifest) generated 1 warning
[INFO] [stderr]     Checking try_drain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `DrainFilter` in module `std::vec`
[INFO] [stdout]   --> src/lib.rs:26:78
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct DrainFilterBuilder<'a, T: 'a, F: FnMut(&mut T) -> bool>(std::vec::DrainFilter<'a, T, F>);
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^ not found in `std::vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DrainFilter` in module `std::vec`
[INFO] [stdout]   --> src/lib.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 |     type IntoIter = std::vec::DrainFilter<'a, T, F>;
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in `std::vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Exhausting` and `IteratorExt`
[INFO] [stdout]   --> src/lib.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use exhausting::{Exhausting, IteratorExt};
[INFO] [stdout]    |                  ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamElement`
[INFO] [stdout]   --> src/lib.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 | use drain_element_streaming::{StreamDrain, StreamElement};
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CursorIter`
[INFO] [stdout]   --> src/lib.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | use cursor::{Cursor, CursorIter};
[INFO] [stdout]    |                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `drain_filter`
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(drain_filter)]
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a feature with a similar name: `option_filter`
[INFO] [stdout]   |
[INFO] [stdout] 1 - #![feature(drain_filter)]
[INFO] [stdout] 1 + #![feature(option_filter)]
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DrainFilter` in module `std::vec`
[INFO] [stdout]   --> src/lib.rs:26:78
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct DrainFilterBuilder<'a, T: 'a, F: FnMut(&mut T) -> bool>(std::vec::DrainFilter<'a, T, F>);
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^ not found in `std::vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DrainFilter` in module `std::vec`
[INFO] [stdout]   --> src/lib.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 |     type IntoIter = std::vec::DrainFilter<'a, T, F>;
[INFO] [stdout]    |                               ^^^^^^^^^^^ not found in `std::vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Exhausting` and `IteratorExt`
[INFO] [stdout]   --> src/lib.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | use exhausting::{Exhausting, IteratorExt};
[INFO] [stdout]    |                  ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamElement`
[INFO] [stdout]   --> src/lib.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 | use drain_element_streaming::{StreamDrain, StreamElement};
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CursorIter`
[INFO] [stdout]   --> src/lib.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 | use cursor::{Cursor, CursorIter};
[INFO] [stdout]    |                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `drain_filter`
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(drain_filter)]
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a feature with a similar name: `option_filter`
[INFO] [stdout]   |
[INFO] [stdout] 1 - #![feature(drain_filter)]
[INFO] [stdout] 1 + #![feature(option_filter)]
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `drain_filter` found for mutable reference `&'a mut Vec<T>` in the current scope
[INFO] [stdout]   --> src/lib.rs:69:37
[INFO] [stdout]    |
[INFO] [stdout] 69 |         DrainFilterBuilder(self.vec.drain_filter(f))
[INFO] [stdout]    |                                     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `drain_builder` with a similar name, but with different arguments
[INFO] [stdout]   --> src/lib.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn drain_builder(&mut self) -> DrainBuilder<Self::T>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `drain_filter` found for mutable reference `&'a mut Vec<T>` in the current scope
[INFO] [stdout]   --> src/lib.rs:69:37
[INFO] [stdout]    |
[INFO] [stdout] 69 |         DrainFilterBuilder(self.vec.drain_filter(f))
[INFO] [stdout]    |                                     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `drain_builder` with a similar name, but with different arguments
[INFO] [stdout]   --> src/lib.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     fn drain_builder(&mut self) -> DrainBuilder<Self::T>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rg`
[INFO] [stdout]   --> src/lib.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn range(self, rg: std::ops::Range<usize>) -> Self {
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_rg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rg`
[INFO] [stdout]   --> src/lib.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn range(self, rg: std::ops::Range<usize>) -> Self {
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_rg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `try_drain` (lib test) due to 4 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `try_drain` (lib) due to 4 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fff2743a00e8bfc5fe38bf63ca3ce8eb05c3909442f9706639bb343a45acc554", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fff2743a00e8bfc5fe38bf63ca3ce8eb05c3909442f9706639bb343a45acc554", kill_on_drop: false }`
[INFO] [stdout] fff2743a00e8bfc5fe38bf63ca3ce8eb05c3909442f9706639bb343a45acc554
