[INFO] fetching crate hj-vcs 0.1.12... [INFO] testing hj-vcs-0.1.12 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate hj-vcs 0.1.12 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate hj-vcs 0.1.12 [INFO] finished tweaking crates.io crate hj-vcs 0.1.12 [INFO] tweaked toml for crates.io crate hj-vcs 0.1.12 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hj-vcs 0.1.12 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 hj-vcs 0.1.12 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ab00704e9675170ab809add71782ceed7b6ec6ac999f683d3d09d4c912f6cd77 [INFO] running `Command { std: "docker" "start" "-a" "ab00704e9675170ab809add71782ceed7b6ec6ac999f683d3d09d4c912f6cd77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab00704e9675170ab809add71782ceed7b6ec6ac999f683d3d09d4c912f6cd77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab00704e9675170ab809add71782ceed7b6ec6ac999f683d3d09d4c912f6cd77", kill_on_drop: false }` [INFO] [stdout] ab00704e9675170ab809add71782ceed7b6ec6ac999f683d3d09d4c912f6cd77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cb7bd5aafa769429b62717c0cab771a9e76d5e8424a80631f5374a009313ff8e [INFO] running `Command { std: "docker" "start" "-a" "cb7bd5aafa769429b62717c0cab771a9e76d5e8424a80631f5374a009313ff8e", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling os_pipe v1.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling openssl-src v300.5.1+3.5.1 [INFO] [stderr] Compiling sigchld v0.2.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling yaml-rust2 v0.10.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling shared_child v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling shared_thread v0.1.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling duct v1.0.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling webbrowser v1.0.5 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling console v0.16.0 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling hj-vcs v0.1.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `utils::step` [INFO] [stdout] --> src/commit.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{config::AppConfig, push::command_push, utils::step}; [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: `config_dir` [INFO] [stdout] --> src/config.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use dirs::{config_dir, home_dir}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push::command_push` [INFO] [stdout] --> src/pull.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | push::command_push, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/starship.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/switch.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warning` [INFO] [stdout] --> src/upbase.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | utils::{step, warning}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/download.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | config: &AppConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/keepup.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn command_keepup(config: &AppConfig, branch: &Vec) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/log.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn command_log_all(config: &AppConfig) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/log.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn command_log_wip(config: &AppConfig, patch: bool) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/pull.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn command_pull(config: &AppConfig, branch: Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_branch` is never used [INFO] [stdout] --> src/starship.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn current_branch() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log` is never used [INFO] [stdout] --> src/tools.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn log(revset: &str, template: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "cb7bd5aafa769429b62717c0cab771a9e76d5e8424a80631f5374a009313ff8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7bd5aafa769429b62717c0cab771a9e76d5e8424a80631f5374a009313ff8e", kill_on_drop: false }` [INFO] [stdout] cb7bd5aafa769429b62717c0cab771a9e76d5e8424a80631f5374a009313ff8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f53d65b995b2f373c73729a13810ba8c3e7f0859b4746826e73f27d1c6c398c1 [INFO] running `Command { std: "docker" "start" "-a" "f53d65b995b2f373c73729a13810ba8c3e7f0859b4746826e73f27d1c6c398c1", kill_on_drop: false }` [INFO] [stderr] Compiling hj-vcs v0.1.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `utils::step` [INFO] [stdout] --> src/commit.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{config::AppConfig, push::command_push, utils::step}; [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: `config_dir` [INFO] [stdout] --> src/config.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use dirs::{config_dir, home_dir}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `push::command_push` [INFO] [stdout] --> src/pull.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | push::command_push, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/switch.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warning` [INFO] [stdout] --> src/upbase.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | utils::{step, warning}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/download.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | config: &AppConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/keepup.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn command_keepup(config: &AppConfig, branch: &Vec) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/log.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn command_log_all(config: &AppConfig) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/log.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn command_log_wip(config: &AppConfig, patch: bool) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/pull.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn command_pull(config: &AppConfig, branch: Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log` is never used [INFO] [stdout] --> src/tools.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn log(revset: &str, template: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "f53d65b995b2f373c73729a13810ba8c3e7f0859b4746826e73f27d1c6c398c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53d65b995b2f373c73729a13810ba8c3e7f0859b4746826e73f27d1c6c398c1", kill_on_drop: false }` [INFO] [stdout] f53d65b995b2f373c73729a13810ba8c3e7f0859b4746826e73f27d1c6c398c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7d143aa19064b605a1cbeea4c014b4895d3b248e55029adceb0c055ec9d511b8 [INFO] running `Command { std: "docker" "start" "-a" "7d143aa19064b605a1cbeea4c014b4895d3b248e55029adceb0c055ec9d511b8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `utils::step` [INFO] [stderr] --> src/commit.rs:3:52 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{config::AppConfig, push::command_push, utils::step}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `config_dir` [INFO] [stderr] --> src/config.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use dirs::{config_dir, home_dir}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `push::command_push` [INFO] [stderr] --> src/pull.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | push::command_push, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::format` [INFO] [stderr] --> src/switch.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warning` [INFO] [stderr] --> src/upbase.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | utils::{step, warning}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/download.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | config: &AppConfig, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/keepup.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) fn command_keepup(config: &AppConfig, branch: &Vec) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/log.rs:5:31 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) fn command_log_all(config: &AppConfig) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/log.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) fn command_log_wip(config: &AppConfig, patch: bool) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/pull.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) fn command_pull(config: &AppConfig, branch: Option) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: function `log` is never used [INFO] [stderr] --> src/tools.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn log(revset: &str, template: &str) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `hj-vcs` (bin "hj-vcs" test) generated 11 warnings (run `cargo fix --bin "hj-vcs" -p hj-vcs --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hj_vcs-a9acdc09a2deaa69) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test starship::test::test_current_branch ... ok [INFO] [stdout] test init::tests::test_duct_output ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- init::tests::test_duct_output stdout ---- [INFO] [stdout] Error: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:2184:27 [INFO] [stdout] 2: hj_vcs::init::tests::test_duct_output [INFO] [stdout] at ./src/init.rs:81:22 [INFO] [stdout] 3: hj_vcs::init::tests::test_duct_output::{{closure}} [INFO] [stdout] at ./src/init.rs:80:30 [INFO] [stdout] 4: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 6: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 7: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 8: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 9: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 10: std::panicking::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 11: std::panic::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 12: test::run_test_in_process [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 13: test::run_test::{{closure}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 14: test::run_test::{{closure}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 15: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 16: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 17: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 18: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 19: std::panicking::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 20: std::panic::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 21: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 22: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 24: std::sys::thread::unix::Thread::new::thread_start [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 25: [INFO] [stdout] 26: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] init::tests::test_duct_output [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin hj-vcs` [INFO] running `Command { std: "docker" "inspect" "7d143aa19064b605a1cbeea4c014b4895d3b248e55029adceb0c055ec9d511b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d143aa19064b605a1cbeea4c014b4895d3b248e55029adceb0c055ec9d511b8", kill_on_drop: false }` [INFO] [stdout] 7d143aa19064b605a1cbeea4c014b4895d3b248e55029adceb0c055ec9d511b8