[INFO] fetching crate doas-rs 0.1.0... [INFO] testing doas-rs-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate doas-rs 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate doas-rs 0.1.0 [INFO] finished tweaking crates.io crate doas-rs 0.1.0 [INFO] tweaked toml for crates.io crate doas-rs 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate doas-rs 0.1.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 doas-rs 0.1.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b4a62f45441d393217d64201b34a032ce2d100e26a64463281c572d943a12eaf [INFO] running `Command { std: "docker" "start" "-a" "b4a62f45441d393217d64201b34a032ce2d100e26a64463281c572d943a12eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4a62f45441d393217d64201b34a032ce2d100e26a64463281c572d943a12eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4a62f45441d393217d64201b34a032ce2d100e26a64463281c572d943a12eaf", kill_on_drop: false }` [INFO] [stdout] b4a62f45441d393217d64201b34a032ce2d100e26a64463281c572d943a12eaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0e349f4d4f3f91cf09eee8007b740a37ea038cb4a807b21cb689218b8a142683 [INFO] running `Command { std: "docker" "start" "-a" "0e349f4d4f3f91cf09eee8007b740a37ea038cb4a807b21cb689218b8a142683", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.69.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling eyre v0.6.11 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling users v0.10.0 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling pam-macros v0.0.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling pam-sys v1.0.0-alpha5 [INFO] [stderr] Compiling pam v0.8.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.4 [INFO] [stderr] Compiling os_info v3.7.0 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling human-panic v1.2.2 [INFO] [stderr] Compiling doas-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pam::PasswordConv` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pam::PasswordConv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | setup_panic!(); // <-- initialize human-panic [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | setup_panic!(); // <-- initialize human-panic [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let user = doas_matches [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execute_commands` [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let execute_commands = Command::new(commands[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.83s [INFO] running `Command { std: "docker" "inspect" "0e349f4d4f3f91cf09eee8007b740a37ea038cb4a807b21cb689218b8a142683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e349f4d4f3f91cf09eee8007b740a37ea038cb4a807b21cb689218b8a142683", kill_on_drop: false }` [INFO] [stdout] 0e349f4d4f3f91cf09eee8007b740a37ea038cb4a807b21cb689218b8a142683 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c12a0e7b6975158d905409e466f8b9999d5a5677dbe7eea0b4d6890412b36ee4 [INFO] running `Command { std: "docker" "start" "-a" "c12a0e7b6975158d905409e466f8b9999d5a5677dbe7eea0b4d6890412b36ee4", kill_on_drop: false }` [INFO] [stderr] Compiling doas-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pam::PasswordConv` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pam::PasswordConv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | setup_panic!(); // <-- initialize human-panic [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | setup_panic!(); // <-- initialize human-panic [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let user = doas_matches [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execute_commands` [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let execute_commands = Command::new(commands[0]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "c12a0e7b6975158d905409e466f8b9999d5a5677dbe7eea0b4d6890412b36ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c12a0e7b6975158d905409e466f8b9999d5a5677dbe7eea0b4d6890412b36ee4", kill_on_drop: false }` [INFO] [stdout] c12a0e7b6975158d905409e466f8b9999d5a5677dbe7eea0b4d6890412b36ee4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 028e3f05350272bc19b40e8a2024d3f11b30939bb124d5e43002e9391d598f43 [INFO] running `Command { std: "docker" "start" "-a" "028e3f05350272bc19b40e8a2024d3f11b30939bb124d5e43002e9391d598f43", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `pam::PasswordConv` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use pam::PasswordConv; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | setup_panic!(); // <-- initialize human-panic [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | setup_panic!(); // <-- initialize human-panic [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `$crate::setup_panic` which comes from the expansion of the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/main.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | let user = doas_matches [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `execute_commands` [INFO] [stderr] --> src/main.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | let execute_commands = Command::new(commands[0]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_commands` [INFO] [stderr] [INFO] [stderr] warning: `doas-rs` (bin "doas-rs" test) generated 5 warnings (run `cargo fix --bin "doas-rs" -p doas-rs --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/doas_rs-04ccbde76f2ea0ad) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: unrecognized subcommand 'ls' [INFO] [stderr] [INFO] [stderr] Usage: doas [COMMAND] [INFO] [stderr] [INFO] [stderr] For more information, try '--help'. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/doas_rs-04ccbde76f2ea0ad` (exit status: 2) [INFO] [stderr] note: test exited abnormally; to see the full output pass --no-capture to the harness. [INFO] running `Command { std: "docker" "inspect" "028e3f05350272bc19b40e8a2024d3f11b30939bb124d5e43002e9391d598f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "028e3f05350272bc19b40e8a2024d3f11b30939bb124d5e43002e9391d598f43", kill_on_drop: false }` [INFO] [stdout] 028e3f05350272bc19b40e8a2024d3f11b30939bb124d5e43002e9391d598f43