[INFO] fetching crate udo 0.4.0... [INFO] testing udo-0.4.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate udo 0.4.0 into /workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate udo 0.4.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 587756beb2f5774ce1b23d0fe3e68f2429df8bcd0eda164b67f7426c08e8eac4 [INFO] running `Command { std: "docker" "start" "-a" "587756beb2f5774ce1b23d0fe3e68f2429df8bcd0eda164b67f7426c08e8eac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "587756beb2f5774ce1b23d0fe3e68f2429df8bcd0eda164b67f7426c08e8eac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587756beb2f5774ce1b23d0fe3e68f2429df8bcd0eda164b67f7426c08e8eac4", kill_on_drop: false }` [INFO] [stdout] 587756beb2f5774ce1b23d0fe3e68f2429df8bcd0eda164b67f7426c08e8eac4 [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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd795c858b350a25bb0cef5623601490c56d7cdebaedae799f48876a22088a0e [INFO] running `Command { std: "docker" "start" "-a" "dd795c858b350a25bb0cef5623601490c56d7cdebaedae799f48876a22088a0e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling signal-hook v0.3.18 [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 rustix v1.1.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 is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling pam-sys v0.5.6 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling clap_builder v4.5.50 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling document-features v0.2.12 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling clap v4.5.50 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling derive_more v2.0.1 [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> { [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) -> _` [INFO] [stdout] found function signature `fn(Gid) -> _` [INFO] [stdout] note: required by a bound in `flat_map` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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| Group::from_gid(/* Gid */)).flatten()) [INFO] [stdout] | +++++++++++++++++ +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `flatten` exists for struct `FlatMap>, _, 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] ` Result, Errno> {Group::from_gid} as FnOnce<(&Vec,)>>::Output = _` [INFO] [stdout] which is required by `FlatMap>, _, fn(Gid) -> Result, Errno> {Group::from_gid}>: Iterator` [INFO] [stdout] `fn(Gid) -> Result, Errno> {Group::from_gid}: FnMut<(&Vec,)>` [INFO] [stdout] which is required by `FlatMap>, _, fn(Gid) -> Result, Errno> {Group::from_gid}>: Iterator` [INFO] [stdout] `FlatMap>, _, fn(Gid) -> Result, Errno> {Group::from_gid}>: Iterator` [INFO] [stdout] which is required by `&mut FlatMap>, _, fn(Gid) -> Result, 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-4747396666381309017.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" "dd795c858b350a25bb0cef5623601490c56d7cdebaedae799f48876a22088a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd795c858b350a25bb0cef5623601490c56d7cdebaedae799f48876a22088a0e", kill_on_drop: false }` [INFO] [stdout] dd795c858b350a25bb0cef5623601490c56d7cdebaedae799f48876a22088a0e