[INFO] cloning repository https://github.com/notflan/collect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/notflan/collect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotflan%2Fcollect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotflan%2Fcollect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4f7aafa326b71c73971343ef47a249e372921bc [INFO] checking notflan/collect against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotflan%2Fcollect" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/notflan/collect on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/notflan/collect [INFO] finished tweaking git repo https://github.com/notflan/collect [INFO] tweaked toml for git repo https://github.com/notflan/collect written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/notflan/collect 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indenter v0.3.3 [INFO] [stderr] Downloaded owo-colors v3.3.0 [INFO] [stderr] Downloaded recolored v1.9.3 [INFO] [stderr] Downloaded tracing-log v0.1.2 [INFO] [stderr] Downloaded jemallocator v0.3.2 [INFO] [stderr] Downloaded quote v1.0.17 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded color-eyre v0.6.1 [INFO] [stderr] Downloaded jemalloc-sys v0.3.2 [INFO] [stderr] Downloaded lazy_format v1.10.0 [INFO] [stderr] Downloaded libc v0.2.122 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded color-spantrace v0.2.0 [INFO] [stderr] Downloaded tracing v0.1.33 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded tracing-core v0.1.24 [INFO] [stderr] Downloaded tracing-attributes v0.1.20 [INFO] [stderr] Downloaded backtrace v0.3.64 [INFO] [stderr] Downloaded tracing-subscriber v0.3.11 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded eyre v0.6.8 [INFO] [stderr] Downloaded once_cell v1.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25e14e4fee92effbb1e21f787be741ffc06f832f2a13ac3c300a3b0c361a8048 [INFO] running `Command { std: "docker" "start" "-a" "25e14e4fee92effbb1e21f787be741ffc06f832f2a13ac3c300a3b0c361a8048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25e14e4fee92effbb1e21f787be741ffc06f832f2a13ac3c300a3b0c361a8048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e14e4fee92effbb1e21f787be741ffc06f832f2a13ac3c300a3b0c361a8048", kill_on_drop: false }` [INFO] [stdout] 25e14e4fee92effbb1e21f787be741ffc06f832f2a13ac3c300a3b0c361a8048 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1dbd262368fa582cf08cb10d25092e1998233f4d616fd804ad062d546c4e1e6 [INFO] running `Command { std: "docker" "start" "-a" "c1dbd262368fa582cf08cb10d25092e1998233f4d616fd804ad062d546c4e1e6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.24 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking owo-colors v3.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking lazy_format v1.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Checking tracing v0.1.33 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Checking collect v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::os::unix::prelude::*` [INFO] [stdout] --> src/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/exec.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer`, `WithCapacity` [INFO] [stdout] --> src/buffers.rs:510:2 [INFO] [stdout] | [INFO] [stdout] 510 | WithCapacity, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | Buffer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::*` [INFO] [stdout] --> src/memfile.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::unix::io::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/memfile.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | BorrowMut, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/memfile/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_int` [INFO] [stdout] --> src/memfile/map.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | c_int, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::prelude::*` [INFO] [stdout] --> src/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/exec.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer`, `WithCapacity` [INFO] [stdout] --> src/buffers.rs:510:2 [INFO] [stdout] | [INFO] [stdout] 510 | WithCapacity, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | Buffer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::*` [INFO] [stdout] --> src/memfile.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::unix::io::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/memfile.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | BorrowMut, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/memfile/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_int` [INFO] [stdout] --> src/memfile/map.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | c_int, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ext.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | if let Err(e) = self.try_seal(shrink, grow, write) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ext.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | if let Err(e) = self.try_seal(shrink, grow, write) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JoinerExt` is never used [INFO] [stdout] --> src/ext.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | type JoinerExt = Joiner; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_now_for_drop` and `take_now` are never used [INFO] [stdout] --> src/ext.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 245 | impl RunOnceInternal [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn take_now_for_drop(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn take_now(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ext.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 299 | / impl RunOnce [INFO] [stdout] 300 | | where F: FnOnce() -> T [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] 301 | { [INFO] [stdout] 302 | pub const fn new(func: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub const fn never() -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn try_take(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn try_run(&mut self) -> Option [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn run(mut self) -> T [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn take(mut self) -> F [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | pub fn is_runnable(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/errors.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Dispersed [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn into_inner(self) -> eyre::Report [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `obey_env` is never used [INFO] [stdout] --> src/errors.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl Dispersed [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn obey_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ignore_env` is never used [INFO] [stdout] --> src/errors.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl Dispersed [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn ignore_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_env` is never used [INFO] [stdout] --> src/errors.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl Dispersed [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn set_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_const` is never used [INFO] [stdout] --> src/memfile/fd.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 125 | impl RawFileDescriptor [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub(super) const fn clone_const(&self) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_positional`, `is_stdin`, `command`, `arguments`, `into_process_info`, and `into_process_info_stdin` are never used [INFO] [stdout] --> src/args.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl ExecMode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 90 | #[inline(always)] [INFO] [stdout] 91 | pub fn is_positional(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn is_stdin(&self) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn command(&self) -> &OsStr [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn arguments(&self) -> impl Iterator> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn into_process_info(self, positional: I) -> (OsString, ExecModeArgIterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn into_process_info_stdin(self) -> (OsString, ExecModeArgIterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stdin` and `Positional` are never constructed [INFO] [stdout] --> src/args.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub enum ExecModeArgIterator> { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 228 | Stdin(std::vec::IntoIter), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 229 | Positional(ArgZippingIter), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_exec`, `has_exec`, `has_positional_exec`, `has_stdin_exec`, and `opt_exec` are never used [INFO] [stdout] --> src/args.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 276 | impl Options [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | fn count_exec(&self) -> (usize, usize) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn has_exec(&self) -> (bool, bool) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn has_positional_exec(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn has_stdin_exec(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn opt_exec(&self) -> impl Iterator + ExactSizeIterator + iter::FusedIterator + DoubleEndedIterator [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_file_raw` is never used [INFO] [stdout] --> src/main.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | fn truncate_file_raw(i: impl AsRawFd, to: impl Into) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `To` should have an upper case name [INFO] [stdout] --> src/errors.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn set_env(self) -> Dispersed [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `TO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JoinerExt` is never used [INFO] [stdout] --> src/ext.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | type JoinerExt = Joiner; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_now_for_drop` and `take_now` are never used [INFO] [stdout] --> src/ext.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 245 | impl RunOnceInternal [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn take_now_for_drop(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn take_now(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ext.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 299 | / impl RunOnce [INFO] [stdout] 300 | | where F: FnOnce() -> T [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] 301 | { [INFO] [stdout] 302 | pub const fn new(func: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub const fn never() -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn try_take(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn try_run(&mut self) -> Option [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn run(mut self) -> T [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn take(mut self) -> F [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | pub fn is_runnable(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/errors.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Dispersed [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn into_inner(self) -> eyre::Report [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `obey_env` is never used [INFO] [stdout] --> src/errors.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl Dispersed [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn obey_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ignore_env` is never used [INFO] [stdout] --> src/errors.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl Dispersed [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn ignore_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_env` is never used [INFO] [stdout] --> src/errors.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl Dispersed [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn set_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_const` is never used [INFO] [stdout] --> src/memfile/fd.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 125 | impl RawFileDescriptor [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub(super) const fn clone_const(&self) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_positional`, `is_stdin`, `command`, `arguments`, `into_process_info`, and `into_process_info_stdin` are never used [INFO] [stdout] --> src/args.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl ExecMode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 90 | #[inline(always)] [INFO] [stdout] 91 | pub fn is_positional(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn is_stdin(&self) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn command(&self) -> &OsStr [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn arguments(&self) -> impl Iterator> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn into_process_info(self, positional: I) -> (OsString, ExecModeArgIterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn into_process_info_stdin(self) -> (OsString, ExecModeArgIterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stdin` and `Positional` are never constructed [INFO] [stdout] --> src/args.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub enum ExecModeArgIterator> { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 228 | Stdin(std::vec::IntoIter), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 229 | Positional(ArgZippingIter), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_exec`, `has_exec`, `has_positional_exec`, `has_stdin_exec`, and `opt_exec` are never used [INFO] [stdout] --> src/args.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 276 | impl Options [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | fn count_exec(&self) -> (usize, usize) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn has_exec(&self) -> (bool, bool) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn has_positional_exec(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn has_stdin_exec(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn opt_exec(&self) -> impl Iterator + ExactSizeIterator + iter::FusedIterator + DoubleEndedIterator [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_file_raw` is never used [INFO] [stdout] --> src/main.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | fn truncate_file_raw(i: impl AsRawFd, to: impl Into) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `To` should have an upper case name [INFO] [stdout] --> src/errors.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn set_env(self) -> Dispersed [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `TO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.08s [INFO] running `Command { std: "docker" "inspect" "c1dbd262368fa582cf08cb10d25092e1998233f4d616fd804ad062d546c4e1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1dbd262368fa582cf08cb10d25092e1998233f4d616fd804ad062d546c4e1e6", kill_on_drop: false }` [INFO] [stdout] c1dbd262368fa582cf08cb10d25092e1998233f4d616fd804ad062d546c4e1e6 [INFO] checking notflan/collect against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotflan%2Fcollect" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/notflan/collect on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/notflan/collect [INFO] finished tweaking git repo https://github.com/notflan/collect [INFO] tweaked toml for git repo https://github.com/notflan/collect written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/notflan/collect 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 803bcbac767aad1ad971893722c040d64b3911dfcd9c1533a25789600b7352b6 [INFO] running `Command { std: "docker" "start" "-a" "803bcbac767aad1ad971893722c040d64b3911dfcd9c1533a25789600b7352b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "803bcbac767aad1ad971893722c040d64b3911dfcd9c1533a25789600b7352b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "803bcbac767aad1ad971893722c040d64b3911dfcd9c1533a25789600b7352b6", kill_on_drop: false }` [INFO] [stdout] 803bcbac767aad1ad971893722c040d64b3911dfcd9c1533a25789600b7352b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] 5c1330e7b2482558c922e804914a8967f8dc985e57cb41edeb42ffd31694415c [INFO] running `Command { std: "docker" "start" "-a" "5c1330e7b2482558c922e804914a8967f8dc985e57cb41edeb42ffd31694415c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking tracing-core v0.1.24 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking owo-colors v3.3.0 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_format v1.10.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Checking tracing v0.1.33 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Checking collect v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::os::unix::prelude::*` [INFO] [stdout] --> src/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/exec.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer`, `WithCapacity` [INFO] [stdout] --> src/buffers.rs:510:2 [INFO] [stdout] | [INFO] [stdout] 510 | WithCapacity, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | Buffer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `hugetlb` [INFO] [stdout] --> src/memfile.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature="hugetlb")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bitflags`, `bytes`, `default`, `disable-logging`, `exec`, `jemalloc`, `jemallocator`, `logging`, `memfile`, `memfile-preallocate`, `memfile-size-output`, `mode-buffered`, `mode-flags`, `mode-memfile`, `recolored`, `tracing`, `tracing-error`, `tracing-subscriber` [INFO] [stdout] = help: consider adding `hugetlb` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::*` [INFO] [stdout] --> src/memfile.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::unix::io::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/memfile.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | BorrowMut, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/memfile/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_int` [INFO] [stdout] --> src/memfile/map.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | c_int, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::prelude::*` [INFO] [stdout] --> src/errors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/exec.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer`, `WithCapacity` [INFO] [stdout] --> src/buffers.rs:510:2 [INFO] [stdout] | [INFO] [stdout] 510 | WithCapacity, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | Buffer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `hugetlb` [INFO] [stdout] --> src/memfile.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature="hugetlb")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bitflags`, `bytes`, `default`, `disable-logging`, `exec`, `jemalloc`, `jemallocator`, `logging`, `memfile`, `memfile-preallocate`, `memfile-size-output`, `mode-buffered`, `mode-flags`, `mode-memfile`, `recolored`, `tracing`, `tracing-error`, `tracing-subscriber` [INFO] [stdout] = help: consider adding `hugetlb` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::io::*` [INFO] [stdout] --> src/memfile.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::unix::io::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/memfile.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | BorrowMut, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/memfile/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_int` [INFO] [stdout] --> src/memfile/map.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | c_int, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ext.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | if let Err(e) = self.try_seal(shrink, grow, write) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ext.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | if let Err(e) = self.try_seal(shrink, grow, write) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JoinerExt` is never used [INFO] [stdout] --> src/ext.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | type JoinerExt = Joiner; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_now_for_drop` and `take_now` are never used [INFO] [stdout] --> src/ext.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 245 | impl RunOnceInternal [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn take_now_for_drop(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn take_now(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ext.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 299 | / impl RunOnce [INFO] [stdout] 300 | | where F: FnOnce() -> T [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] 301 | { [INFO] [stdout] 302 | pub const fn new(func: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub const fn never() -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn try_take(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn try_run(&mut self) -> Option [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn run(mut self) -> T [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn take(mut self) -> F [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | pub fn is_runnable(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/errors.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Dispersed [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn into_inner(self) -> eyre::Report [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `obey_env` is never used [INFO] [stdout] --> src/errors.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl Dispersed [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn obey_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ignore_env` is never used [INFO] [stdout] --> src/errors.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl Dispersed [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn ignore_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_env` is never used [INFO] [stdout] --> src/errors.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl Dispersed [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn set_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_const` is never used [INFO] [stdout] --> src/memfile/fd.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 125 | impl RawFileDescriptor [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub(super) const fn clone_const(&self) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_positional`, `is_stdin`, `command`, `arguments`, `into_process_info`, and `into_process_info_stdin` are never used [INFO] [stdout] --> src/args.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl ExecMode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 90 | #[inline(always)] [INFO] [stdout] 91 | pub fn is_positional(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn is_stdin(&self) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn command(&self) -> &OsStr [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn arguments(&self) -> impl Iterator> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn into_process_info(self, positional: I) -> (OsString, ExecModeArgIterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn into_process_info_stdin(self) -> (OsString, ExecModeArgIterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stdin` and `Positional` are never constructed [INFO] [stdout] --> src/args.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub enum ExecModeArgIterator> { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 228 | Stdin(std::vec::IntoIter), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 229 | Positional(ArgZippingIter), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_exec`, `has_exec`, `has_positional_exec`, `has_stdin_exec`, and `opt_exec` are never used [INFO] [stdout] --> src/args.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 276 | impl Options [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | fn count_exec(&self) -> (usize, usize) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn has_exec(&self) -> (bool, bool) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn has_positional_exec(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn has_stdin_exec(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn opt_exec(&self) -> impl Iterator + ExactSizeIterator + iter::FusedIterator + DoubleEndedIterator [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_file_raw` is never used [INFO] [stdout] --> src/main.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | fn truncate_file_raw(i: impl AsRawFd, to: impl Into) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `To` should have an upper case name [INFO] [stdout] --> src/errors.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn set_env(self) -> Dispersed [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `TO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `collect` (bin "collect" test) due to 2 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type alias `JoinerExt` is never used [INFO] [stdout] --> src/ext.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | type JoinerExt = Joiner; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_now_for_drop` and `take_now` are never used [INFO] [stdout] --> src/ext.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 245 | impl RunOnceInternal [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 254 | fn take_now_for_drop(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn take_now(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ext.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 299 | / impl RunOnce [INFO] [stdout] 300 | | where F: FnOnce() -> T [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] 301 | { [INFO] [stdout] 302 | pub const fn new(func: F) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub const fn never() -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn try_take(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn try_run(&mut self) -> Option [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn run(mut self) -> T [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn take(mut self) -> F [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | pub fn is_runnable(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/errors.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Dispersed [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn into_inner(self) -> eyre::Report [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `obey_env` is never used [INFO] [stdout] --> src/errors.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl Dispersed [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn obey_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ignore_env` is never used [INFO] [stdout] --> src/errors.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl Dispersed [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn ignore_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_env` is never used [INFO] [stdout] --> src/errors.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl Dispersed [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn set_env(self) -> Dispersed [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_const` is never used [INFO] [stdout] --> src/memfile/fd.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 125 | impl RawFileDescriptor [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub(super) const fn clone_const(&self) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_positional`, `is_stdin`, `command`, `arguments`, `into_process_info`, and `into_process_info_stdin` are never used [INFO] [stdout] --> src/args.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl ExecMode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 90 | #[inline(always)] [INFO] [stdout] 91 | pub fn is_positional(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn is_stdin(&self) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn command(&self) -> &OsStr [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn arguments(&self) -> impl Iterator> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn into_process_info(self, positional: I) -> (OsString, ExecModeArgIterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn into_process_info_stdin(self) -> (OsString, ExecModeArgIterator) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stdin` and `Positional` are never constructed [INFO] [stdout] --> src/args.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub enum ExecModeArgIterator> { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 228 | Stdin(std::vec::IntoIter), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 229 | Positional(ArgZippingIter), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_exec`, `has_exec`, `has_positional_exec`, `has_stdin_exec`, and `opt_exec` are never used [INFO] [stdout] --> src/args.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 276 | impl Options [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | fn count_exec(&self) -> (usize, usize) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn has_exec(&self) -> (bool, bool) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn has_positional_exec(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn has_stdin_exec(&self) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn opt_exec(&self) -> impl Iterator + ExactSizeIterator + iter::FusedIterator + DoubleEndedIterator [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_file_raw` is never used [INFO] [stdout] --> src/main.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | fn truncate_file_raw(i: impl AsRawFd, to: impl Into) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `To` should have an upper case name [INFO] [stdout] --> src/errors.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn set_env(self) -> Dispersed [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `TO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `collect` (bin "collect") due to 2 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5c1330e7b2482558c922e804914a8967f8dc985e57cb41edeb42ffd31694415c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1330e7b2482558c922e804914a8967f8dc985e57cb41edeb42ffd31694415c", kill_on_drop: false }` [INFO] [stdout] 5c1330e7b2482558c922e804914a8967f8dc985e57cb41edeb42ffd31694415c