[INFO] cloning repository https://github.com/LiXuanqi/xgit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiXuanqi/xgit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiXuanqi%2Fxgit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiXuanqi%2Fxgit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95bf45f94d51f44ba3a9185119f8e814b16a64a2 [INFO] testing LiXuanqi/xgit against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiXuanqi%2Fxgit" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LiXuanqi/xgit [INFO] finished tweaking git repo https://github.com/LiXuanqi/xgit [INFO] tweaked toml for git repo https://github.com/LiXuanqi/xgit written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LiXuanqi/xgit on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LiXuanqi/xgit 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7fdd76bd79cfdb83ebe60c70b7c54aebd97aa59b8bc09673383ec4060c9adf5 [INFO] running `Command { std: "docker" "start" "-a" "f7fdd76bd79cfdb83ebe60c70b7c54aebd97aa59b8bc09673383ec4060c9adf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7fdd76bd79cfdb83ebe60c70b7c54aebd97aa59b8bc09673383ec4060c9adf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7fdd76bd79cfdb83ebe60c70b7c54aebd97aa59b8bc09673383ec4060c9adf5", kill_on_drop: false }` [INFO] [stdout] f7fdd76bd79cfdb83ebe60c70b7c54aebd97aa59b8bc09673383ec4060c9adf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94e7255ecf464e0adda36d311f8e1b314604c20ba53291f03f5bf206187861c0 [INFO] running `Command { std: "docker" "start" "-a" "94e7255ecf464e0adda36d311f8e1b314604c20ba53291f03f5bf206187861c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libgit2-sys v0.18.2+1.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling snafu-derive v0.8.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling snafu v0.8.6 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling octocrab v0.41.2 [INFO] [stderr] Compiling xgit v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 11s [INFO] running `Command { std: "docker" "inspect" "94e7255ecf464e0adda36d311f8e1b314604c20ba53291f03f5bf206187861c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94e7255ecf464e0adda36d311f8e1b314604c20ba53291f03f5bf206187861c0", kill_on_drop: false }` [INFO] [stdout] 94e7255ecf464e0adda36d311f8e1b314604c20ba53291f03f5bf206187861c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33459b44857277712a8c2ed0a83eeac2c45efcc39032362cddbdf3b491e918f2 [INFO] running `Command { std: "docker" "start" "-a" "33459b44857277712a8c2ed0a83eeac2c45efcc39032362cddbdf3b491e918f2", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling octocrab v0.41.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.3 [INFO] [stderr] Compiling xgit v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 36s [INFO] running `Command { std: "docker" "inspect" "33459b44857277712a8c2ed0a83eeac2c45efcc39032362cddbdf3b491e918f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33459b44857277712a8c2ed0a83eeac2c45efcc39032362cddbdf3b491e918f2", kill_on_drop: false }` [INFO] [stdout] 33459b44857277712a8c2ed0a83eeac2c45efcc39032362cddbdf3b491e918f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee9b74ece03448d8542d13e5d6049a0d3a1d00b52d51c77ed1d130c01999ad64 [INFO] running `Command { std: "docker" "start" "-a" "ee9b74ece03448d8542d13e5d6049a0d3a1d00b52d51c77ed1d130c01999ad64", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xgit-8e23279a8acba827) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test git::commits::operations::tests::list_commits_works_in_repo_without_any_commit ... ok [INFO] [stdout] test git::commits::operations::tests::add_works_for_all_files ... ok [INFO] [stdout] test git::branches::operations::tests::get_current_branch_works ... ok [INFO] [stdout] test git::commits::operations::tests::add_works_for_single_file_path ... ok [INFO] [stdout] test git::branches::operations::tests::checkout_branch_works ... ok [INFO] [stdout] test git::commits::operations::tests::add_works_for_glob_patterns ... ok [INFO] [stdout] test git::commits::operations::tests::has_staged_changes_works ... ok [INFO] [stdout] test git::commits::operations::tests::get_branch_commit_info_works ... ok [INFO] [stdout] test git::branches::operations::tests::create_branch_and_get_all_branches_works ... ok [INFO] [stdout] test git::branches::operations::tests::create_branch_works_when_no_commit ... ok [INFO] [stdout] test git::remotes::operations::tests::get_remote_names_works ... ok [INFO] [stdout] test git::commits::operations::tests::diff_staged_works ... ok [INFO] [stdout] test git::remotes::operations::tests::add_remote_works ... ok [INFO] [stdout] test git::remotes::operations::tests::get_remotes_works ... ok [INFO] [stdout] test git::branches::operations::tests::is_branch_merged_to_main_works ... ok [INFO] [stdout] test git::merge::operations::tests::merge_works ... ok [INFO] [stdout] test git::repository::core::tests::init_fails_in_git_folder ... ok [INFO] [stdout] test git::repository::core::tests::init_bare_works ... ok [INFO] [stdout] test git::repository::core::tests::init_bare_fails_in_git_folder ... ok [INFO] [stdout] test git::branches::tracking::tests::get_remote_tracking_info_works ... ok [INFO] [stdout] test git::commits::operations::tests::list_commits_works ... ok [INFO] [stdout] test git::commits::operations::tests::get_staged_diff_and_diff_to_string_work ... ok [INFO] [stdout] test git::remotes::operations::tests::push_current_branch_works ... ok [INFO] [stdout] test git::repository::core::tests::init_works ... ok [INFO] [stdout] test git::remotes::operations::tests::push_works ... ok [INFO] [stdout] test git::repository::core::tests::open_fails_in_non_git_folder ... ok [INFO] [stdout] test git::remotes::operations::tests::set_remote_url_works ... ok [INFO] [stdout] test git::remotes::operations::tests::push_to_origin_works ... ok [INFO] [stdout] test test_utils::git_repo_test_decorator::tests::append_to_file_works ... ok [INFO] [stdout] test git::branches::tracking::tests::is_branch_merged_into_main_works ... ok [INFO] [stdout] test test_utils::git_repo_test_decorator::tests::add_local_remote_works ... ok [INFO] [stdout] test git::remotes::sync::tests::fetch_works ... ok [INFO] [stdout] test test_utils::git_repo_test_decorator::tests::append_to_nonexistent_file_fails ... ok [INFO] [stdout] test git::repository::core::tests::open_works ... ok [INFO] [stdout] test test_utils::git_repo_test_decorator::tests::assert_commit_messages_works_correctly ... ok [INFO] [stdout] test test_utils::git_repo_test_decorator::tests::append_to_file_and_commit_works ... ok [INFO] [stdout] test git::remotes::sync::tests::pull_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee9b74ece03448d8542d13e5d6049a0d3a1d00b52d51c77ed1d130c01999ad64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9b74ece03448d8542d13e5d6049a0d3a1d00b52d51c77ed1d130c01999ad64", kill_on_drop: false }` [INFO] [stdout] ee9b74ece03448d8542d13e5d6049a0d3a1d00b52d51c77ed1d130c01999ad64