[INFO] fetching crate udo 0.4.0...
[INFO] testing udo-0.4.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate udo 0.4.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate udo 0.4.0
[INFO] finished tweaking crates.io crate udo 0.4.0
[INFO] tweaked toml for crates.io crate udo 0.4.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate udo 0.4.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate udo 0.4.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pam-sys v0.5.6
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa887f005bf488a423503798047a3fb5988ca1d72f83bb92bd84a38c75a339c9
[INFO] running `Command { std: "docker" "start" "-a" "aa887f005bf488a423503798047a3fb5988ca1d72f83bb92bd84a38c75a339c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa887f005bf488a423503798047a3fb5988ca1d72f83bb92bd84a38c75a339c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa887f005bf488a423503798047a3fb5988ca1d72f83bb92bd84a38c75a339c9", kill_on_drop: false }`
[INFO] [stdout] aa887f005bf488a423503798047a3fb5988ca1d72f83bb92bd84a38c75a339c9
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be5082ca3753b10d64ad25d75516a2f40fca95da2bd22e4cfbd364c5a6dcb4ea
[INFO] running `Command { std: "docker" "start" "-a" "be5082ca3753b10d64ad25d75516a2f40fca95da2bd22e4cfbd364c5a6dcb4ea", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]    Compiling pam-sys v0.5.6
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling convert_case v0.7.1
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling serde_spanned v1.0.3
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]    Compiling clap_builder v4.5.50
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling toml_writer v1.0.4
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling toml v0.9.8
[INFO] [stderr]    Compiling clap v4.5.50
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling udo v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `Gid` in this scope
[INFO] [stdout]    --> src/authenticate.rs:253:55
[INFO] [stdout]     |
[INFO] [stdout] 253 | fn get_supplemental_groups(user: &User) -> Result<Vec<Gid>> {
[INFO] [stdout]     |                                                       ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   3 + use nix::unistd::Gid;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]  --> src/authenticate.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::Command;
[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: `WaitStatus`
[INFO] [stdout]  --> src/config.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 |     sys::wait::{WaitStatus, waitpid},
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Theme`
[INFO] [stdout]   --> src/output.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |         theme::{OutputStyle, Theme},
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Flag` and `Run`
[INFO] [stdout]   --> src/run/env.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |     run::{Flag, Run},
[INFO] [stdout]    |           ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in function arguments
[INFO] [stdout]    --> src/authenticate.rs:256:36
[INFO] [stdout]     |
[INFO] [stdout] 256 |     Ok(getgroups().iter().flat_map(Group::from_gid).flatten())
[INFO] [stdout]     |                           -------- ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |        |
[INFO] [stdout]     |                           |        expected due to this
[INFO] [stdout]     |                           |        found signature defined here
[INFO] [stdout]     |                           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected function signature `fn(&Vec<Gid>) -> _`
[INFO] [stdout]                found function signature `fn(Gid) -> _`
[INFO] [stdout] note: required by a bound in `flat_map`
[INFO] [stdout]    --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/iter/traits/iterator.rs:1473:4
[INFO] [stdout] help: consider wrapping the function in a closure
[INFO] [stdout]     |
[INFO] [stdout] 256 |     Ok(getgroups().iter().flat_map(|arg0: &Vec<Gid>| Group::from_gid(/* Gid */)).flatten())
[INFO] [stdout]     |                                    +++++++++++++++++                +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `flatten` exists for struct `FlatMap<Iter<'_, Vec<Gid>>, _, fn(Gid) -> ... {...::from_gid}>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/authenticate.rs:256:53
[INFO] [stdout]     |
[INFO] [stdout] 256 |     Ok(getgroups().iter().flat_map(Group::from_gid).flatten())
[INFO] [stdout]     |                                                     ^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<fn(Gid) -> Result<std::option::Option<Group>, Errno> {Group::from_gid} as FnOnce<(&Vec<Gid>,)>>::Output = _`
[INFO] [stdout]             which is required by `FlatMap<std::result::Iter<'_, Vec<Gid>>, _, fn(Gid) -> Result<std::option::Option<Group>, Errno> {Group::from_gid}>: Iterator`
[INFO] [stdout]             `fn(Gid) -> Result<std::option::Option<Group>, Errno> {Group::from_gid}: FnMut<(&Vec<Gid>,)>`
[INFO] [stdout]             which is required by `FlatMap<std::result::Iter<'_, Vec<Gid>>, _, fn(Gid) -> Result<std::option::Option<Group>, Errno> {Group::from_gid}>: Iterator`
[INFO] [stdout]             `FlatMap<std::result::Iter<'_, Vec<Gid>>, _, fn(Gid) -> Result<std::option::Option<Group>, Errno> {Group::from_gid}>: Iterator`
[INFO] [stdout]             which is required by `&mut FlatMap<std::result::Iter<'_, Vec<Gid>>, _, fn(Gid) -> Result<std::option::Option<Group>, Errno> {Group::from_gid}>: Iterator`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/udo-8ebb3d225f312a2f.long-type-2325789185058123380.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/authenticate/pam.rs:129:23
[INFO] [stdout]     |
[INFO] [stdout] 129 |             .map_err(|e| AuthError::new(AuthErrorKind::InvalidInput, "invalid service"))?;
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/authenticate/pam.rs:127:23
[INFO] [stdout]     |
[INFO] [stdout] 127 |             .map_err(|e| AuthError::new(AuthErrorKind::InvalidInput, "invalid password"))?;
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/authenticate/pam.rs:125:23
[INFO] [stdout]     |
[INFO] [stdout] 125 |             .map_err(|e| AuthError::new(AuthErrorKind::InvalidInput, "invalid username"))?;
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/authenticate.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let h = other.host.as_ref().unwrap();
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> src/authenticate.rs:105:22
[INFO] [stdout]     |
[INFO] [stdout] 105 |                 Some(h) => true,
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/authenticate.rs:114:21
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 let v = v.clone();
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/authenticate.rs:115:59
[INFO] [stdout]     |
[INFO] [stdout] 115 |                 matches!(&other.do_as, ActionValue::Value(v))
[INFO] [stdout]     |                                                           ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/config.rs:191:29
[INFO] [stdout]     |
[INFO] [stdout] 191 | fn edit_child(editor: &str, path: &Path, context: UserContext) -> Result<()> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/output/prompt.rs:126:51
[INFO] [stdout]     |
[INFO] [stdout] 126 | ...                   if let Some((idx, c)) = to_remove {
[INFO] [stdout]     |                                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/output.rs:284:39
[INFO] [stdout]     |
[INFO] [stdout] 284 | pub fn not_authenticated(user: &User, config: &Config) {
[INFO] [stdout]     |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/run/process.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |         Ok(status) => exit(1),
[INFO] [stdout]    |            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0599, E0631.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `udo` (bin "udo") due to 3 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "be5082ca3753b10d64ad25d75516a2f40fca95da2bd22e4cfbd364c5a6dcb4ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be5082ca3753b10d64ad25d75516a2f40fca95da2bd22e4cfbd364c5a6dcb4ea", kill_on_drop: false }`
[INFO] [stdout] be5082ca3753b10d64ad25d75516a2f40fca95da2bd22e4cfbd364c5a6dcb4ea
