[INFO] fetching crate doas-rs 0.1.0... [INFO] testing doas-rs-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate doas-rs 0.1.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate doas-rs 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pam-sys v1.0.0-alpha5 [INFO] [stderr] Downloaded pam v0.8.0 [INFO] [stderr] Downloaded pam-macros v0.0.3 [INFO] [stderr] Downloaded eyre v0.6.11 [INFO] [stderr] Downloaded human-panic v1.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c254f32ffc95047b0ca0f92feed830e8cf3ffa174d6e6332fac0c8f992f354c [INFO] running `Command { std: "docker" "start" "-a" "9c254f32ffc95047b0ca0f92feed830e8cf3ffa174d6e6332fac0c8f992f354c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c254f32ffc95047b0ca0f92feed830e8cf3ffa174d6e6332fac0c8f992f354c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c254f32ffc95047b0ca0f92feed830e8cf3ffa174d6e6332fac0c8f992f354c", kill_on_drop: false }` [INFO] [stdout] 9c254f32ffc95047b0ca0f92feed830e8cf3ffa174d6e6332fac0c8f992f354c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9f58d9e5075034757c80a3114aae24710b5e98e80ebf5b6662c5c5173ecbab3f [INFO] running `Command { std: "docker" "start" "-a" "9f58d9e5075034757c80a3114aae24710b5e98e80ebf5b6662c5c5173ecbab3f", 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 regex-syntax v0.8.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling bindgen v0.69.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling eyre v0.6.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling users v0.10.0 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling color-eyre v0.6.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 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)]` 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)]` 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 27.21s [INFO] running `Command { std: "docker" "inspect" "9f58d9e5075034757c80a3114aae24710b5e98e80ebf5b6662c5c5173ecbab3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f58d9e5075034757c80a3114aae24710b5e98e80ebf5b6662c5c5173ecbab3f", kill_on_drop: false }` [INFO] [stdout] 9f58d9e5075034757c80a3114aae24710b5e98e80ebf5b6662c5c5173ecbab3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6fd78a5fdfd786db088f6105524122dcf3b935b6365e89f099b1df0cc018bc47 [INFO] running `Command { std: "docker" "start" "-a" "6fd78a5fdfd786db088f6105524122dcf3b935b6365e89f099b1df0cc018bc47", 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)]` 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)]` 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.61s [INFO] running `Command { std: "docker" "inspect" "6fd78a5fdfd786db088f6105524122dcf3b935b6365e89f099b1df0cc018bc47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd78a5fdfd786db088f6105524122dcf3b935b6365e89f099b1df0cc018bc47", kill_on_drop: false }` [INFO] [stdout] 6fd78a5fdfd786db088f6105524122dcf3b935b6365e89f099b1df0cc018bc47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e31271e24175a886d7634ca6915416ff03145feda956a55c0fdd88fe26b2174a [INFO] running `Command { std: "docker" "start" "-a" "e31271e24175a886d7634ca6915416ff03145feda956a55c0fdd88fe26b2174a", 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)]` 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)]` 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" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/doas_rs-fc2ba187694b47c4) [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/x86_64-unknown-linux-musl/debug/deps/doas_rs-fc2ba187694b47c4` (exit status: 2) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "e31271e24175a886d7634ca6915416ff03145feda956a55c0fdd88fe26b2174a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e31271e24175a886d7634ca6915416ff03145feda956a55c0fdd88fe26b2174a", kill_on_drop: false }` [INFO] [stdout] e31271e24175a886d7634ca6915416ff03145feda956a55c0fdd88fe26b2174a