[INFO] cloning repository https://github.com/mmcclimon/pidgit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmcclimon/pidgit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fpidgit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fpidgit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d4d922c75d2f2285fe91b9cb41215a53c1a5704 [INFO] testing mmcclimon/pidgit against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fpidgit" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmcclimon/pidgit on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmcclimon/pidgit [INFO] finished tweaking git repo https://github.com/mmcclimon/pidgit [INFO] tweaked toml for git repo https://github.com/mmcclimon/pidgit written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mmcclimon/pidgit 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v0.7.0 [INFO] [stderr] Downloaded serial_test_derive v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26c1b28ed192257bb9eb99240c4a74334c5a9853ca04585cb2d5e540fa62dc1c [INFO] running `Command { std: "docker" "start" "-a" "26c1b28ed192257bb9eb99240c4a74334c5a9853ca04585cb2d5e540fa62dc1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26c1b28ed192257bb9eb99240c4a74334c5a9853ca04585cb2d5e540fa62dc1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c1b28ed192257bb9eb99240c4a74334c5a9853ca04585cb2d5e540fa62dc1c", kill_on_drop: false }` [INFO] [stdout] 26c1b28ed192257bb9eb99240c4a74334c5a9853ca04585cb2d5e540fa62dc1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9025e8074b35f8012d66802139b517e991f1aa6fe8fcc1dee65a2f4da0bb4c9 [INFO] running `Command { std: "docker" "start" "-a" "f9025e8074b35f8012d66802139b517e991f1aa6fe8fcc1dee65a2f4da0bb4c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling pidgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `util` is imported redundantly [INFO] [stdout] --> src/cmd/check_ref_format.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `util` is already imported here [INFO] [stdout] 4 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/cmd/diff.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cmd::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/diff.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashObject` is never constructed [INFO] [stdout] --> src/cmd/hash_object.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct HashObject; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Init` is never constructed [INFO] [stdout] --> src/cmd/init.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Init; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Init` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.43s [INFO] running `Command { std: "docker" "inspect" "f9025e8074b35f8012d66802139b517e991f1aa6fe8fcc1dee65a2f4da0bb4c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9025e8074b35f8012d66802139b517e991f1aa6fe8fcc1dee65a2f4da0bb4c9", kill_on_drop: false }` [INFO] [stdout] f9025e8074b35f8012d66802139b517e991f1aa6fe8fcc1dee65a2f4da0bb4c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9497a049d50507f1a07b6c1b41431879867b3e36219d3d948626c7988b80eea3 [INFO] running `Command { std: "docker" "start" "-a" "9497a049d50507f1a07b6c1b41431879867b3e36219d3d948626c7988b80eea3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling assert_fs v1.0.7 [INFO] [stderr] Compiling assert_cmd v1.0.8 [INFO] [stderr] Compiling serial_test_derive v0.7.0 [INFO] [stderr] Compiling serial_test v0.7.0 [INFO] [stderr] Compiling pidgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `util` is imported redundantly [INFO] [stdout] --> src/cmd/check_ref_format.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `util` is already imported here [INFO] [stdout] 4 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/cmd/diff.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cmd::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/diff.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashObject` is never constructed [INFO] [stdout] --> src/cmd/hash_object.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct HashObject; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Init` is never constructed [INFO] [stdout] --> src/cmd/init.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Init; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Init` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.03s [INFO] running `Command { std: "docker" "inspect" "9497a049d50507f1a07b6c1b41431879867b3e36219d3d948626c7988b80eea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9497a049d50507f1a07b6c1b41431879867b3e36219d3d948626c7988b80eea3", kill_on_drop: false }` [INFO] [stdout] 9497a049d50507f1a07b6c1b41431879867b3e36219d3d948626c7988b80eea3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9092e9400b4da9cb7b624fe3849101041be0c332beb7f167ea178300bd517175 [INFO] running `Command { std: "docker" "start" "-a" "9092e9400b4da9cb7b624fe3849101041be0c332beb7f167ea178300bd517175", kill_on_drop: false }` [INFO] [stderr] warning: the item `util` is imported redundantly [INFO] [stderr] --> src/cmd/check_ref_format.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::prelude::*; [INFO] [stderr] | ----------------- the item `util` is already imported here [INFO] [stderr] 4 | use crate::util; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Context` is imported redundantly [INFO] [stderr] --> src/cmd/diff.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::cmd::Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 10 | use crate::prelude::*; [INFO] [stderr] | ----------------- the item `Context` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Default` is imported redundantly [INFO] [stderr] --> src/diff.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::default::Default; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Default` is already defined here [INFO] [stderr] [INFO] [stderr] warning: struct `HashObject` is never constructed [INFO] [stderr] --> src/cmd/hash_object.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | struct HashObject; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HashObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Init` is never constructed [INFO] [stderr] --> src/cmd/init.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct Init; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Init` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `pidgit` (lib test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pidgit-aad6c7a7178fe007) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test cmd::init::tests::init_create_dir ... ok [INFO] [stdout] test cmd::init::tests::init_dot_pidgit_exists ... ok [INFO] [stdout] test cmd::status::tests::no_empty_untracked_dirs ... ok [INFO] [stdout] test cmd::status::tests::deleted_files ... ok [INFO] [stdout] test diff::myers::tests::basic ... ok [INFO] [stdout] test index::tests::entry_from_path ... ok [INFO] [stdout] test cmd::status::tests::added_file_in_tracked_dir ... ok [INFO] [stdout] test cmd::status::tests::simple_modification ... ok [INFO] [stdout] test cmd::status::tests::only_untracked_files ... ok [INFO] [stdout] test cmd::status::tests::modified_mode ... ok [INFO] [stdout] test index::tests::add_file ... ok [INFO] [stdout] test index::tests::replace_file_with_dir ... ok [INFO] [stdout] test cmd::status::tests::untracked_dirs ... ok [INFO] [stdout] test cmd::init::tests::init_help ... ok [INFO] [stdout] test cmd::status::tests::untracked_and_others ... ok [INFO] [stdout] test cmd::status::tests::deleted_dir_from_index ... ok [INFO] [stdout] test lockfile::tests::create ... ok [INFO] [stdout] test cmd::status::tests::deleted_file_from_index ... ok [INFO] [stdout] test lockfile::tests::write_commit ... ok [INFO] [stdout] test cmd::status::tests::untracked_dirs_nested ... ok [INFO] [stdout] test index::tests::replace_dir_with_file_recursive ... ok [INFO] [stdout] test lockfile::tests::lock ... ok [INFO] [stdout] test cmd::status::tests::change_mode ... ok [INFO] [stdout] test index::tests::replace_dir_with_file ... ok [INFO] [stdout] test cmd::status::tests::added_file_in_untracked_dir ... ok [INFO] [stdout] test util::rev_parse::tests::refnames ... ok [INFO] [stdout] test lockfile::tests::write_rollback ... ok [INFO] [stdout] test cmd::status::tests::modified_content ... ok [INFO] [stdout] test util::rev_parse::tests::parse ... ok [INFO] [stdout] test cmd::status::tests::modify_same_size ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- cmd::status::tests::modify_same_size stdout ---- [INFO] [stdout] thread 'cmd::status::tests::modify_same_size' panicked at src/cmd/status.rs:172:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "" [INFO] [stdout] right: " M file.txt\n" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e5f58dbfb6 - std::backtrace_rs::backtrace::libunwind::trace::h68e08e31a5edd928 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x55e5f58dbfb6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8e4d3186f828cab [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e5f58dbfb6 - std::sys_common::backtrace::_print_fmt::hdcdca1c0665ccefc [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55e5f58dbfb6 - ::fmt::h752651e67cc277a4 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55e5f5906a1c - core::fmt::rt::Argument::fmt::h4e7c3e22f7386287 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x55e5f5906a1c - core::fmt::write::hd44b1d45ba162e21 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x55e5f58d936f - std::io::Write::write_fmt::hdb67a49a0754f939 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x55e5f58dbd64 - std::sys_common::backtrace::_print::hbca331de1381491f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55e5f58dbd64 - std::sys_common::backtrace::print::hade58077d78c625d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55e5f58dda5b - std::panicking::default_hook::{{closure}}::hc9f80a2cdc6be4c4 [INFO] [stdout] 10: 0x55e5f58dd72d - std::panicking::default_hook::h1fc68886dc215416 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x55e5f5848e77 - as core::ops::function::Fn>::call::ha16821620acc0367 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x55e5f5848e77 - test::test_main::{{closure}}::h1a3ed7cd910c2945 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x55e5f58de090 - as core::ops::function::Fn>::call::he260753ff79c0e70 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x55e5f58de090 - std::panicking::rust_panic_with_hook::heff73da0ddd67492 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x55e5f58dddd2 - std::panicking::begin_panic_handler::{{closure}}::h141137f9c7de1e02 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:660:13 [INFO] [stdout] 16: 0x55e5f58dc496 - std::sys_common::backtrace::__rust_end_short_backtrace::hbde4e66d30db627d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55e5f58ddb04 - rust_begin_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x55e5f57ad295 - core::panicking::panic_fmt::h92fcc83e4972ca9b [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55e5f57ad5db - core::panicking::assert_failed_inner::h25ff1575da1dfede [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panicking.rs:342:17 [INFO] [stdout] 20: 0x55e5f57a45af - core::panicking::assert_failed::h7927cd22851a71da [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panicking.rs:297:5 [INFO] [stdout] 21: 0x55e5f57d8a5f - pidgit::cmd::status::tests::assert_status::hc0d6bf21e42887d9 [INFO] [stdout] at /opt/rustwide/workdir/src/cmd/status.rs:172:5 [INFO] [stdout] 22: 0x55e5f57dcf91 - pidgit::cmd::status::tests::modify_same_size::h77f4f54fb04dd0da [INFO] [stdout] at /opt/rustwide/workdir/src/cmd/status.rs:269:5 [INFO] [stdout] 23: 0x55e5f57f5889 - pidgit::cmd::status::tests::modify_same_size::{{closure}}::h6ae7f371ee0cb736 [INFO] [stdout] at /opt/rustwide/workdir/src/cmd/status.rs:261:24 [INFO] [stdout] 24: 0x55e5f57f5889 - core::ops::function::FnOnce::call_once::h26ce75d8f7c18180 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x55e5f584e5df - core::ops::function::FnOnce::call_once::hb5d425830acba2e8 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x55e5f584e5df - test::__rust_begin_short_backtrace::h8054e86d0f5ccc86 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:620:18 [INFO] [stdout] 27: 0x55e5f584d1f0 - test::run_test_in_process::{{closure}}::h85d13cb166c10721 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:60 [INFO] [stdout] 28: 0x55e5f584d1f0 - as core::ops::function::FnOnce<()>>::call_once::hc3dc86b8d5205a04 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x55e5f584d1f0 - std::panicking::try::do_call::hc17666b06748adad [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 30: 0x55e5f584d1f0 - std::panicking::try::h1e9fba0c97684d1d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 31: 0x55e5f584d1f0 - std::panic::catch_unwind::h8328c2da9899627c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 32: 0x55e5f584d1f0 - test::run_test_in_process::hf19a99f254958c9c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:27 [INFO] [stdout] 33: 0x55e5f584d1f0 - test::run_test::{{closure}}::hba6ab6b94e515411 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:566:43 [INFO] [stdout] 34: 0x55e5f5815533 - test::run_test::{{closure}}::h6ac7c2253cb9cc0f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:594:41 [INFO] [stdout] 35: 0x55e5f5815533 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb4fbc53b7e758a6f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 36: 0x55e5f581a25f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha24970823708ac98 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 37: 0x55e5f581a25f - as core::ops::function::FnOnce<()>>::call_once::h16db0733eff2a03c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x55e5f581a25f - std::panicking::try::do_call::hc2890dbc9a490eee [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 39: 0x55e5f581a25f - std::panicking::try::ha67ad75b01f98422 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 40: 0x55e5f581a25f - std::panic::catch_unwind::h26725df9ddb3fcd2 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 41: 0x55e5f581a25f - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0e59407b0ff3ed8 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 42: 0x55e5f581a25f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd4eb105f82d3bb8e [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x55e5f58e3a65 - as core::ops::function::FnOnce>::call_once::h28564f61ef15890d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x55e5f58e3a65 - as core::ops::function::FnOnce>::call_once::h03728738d990d027 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 45: 0x55e5f58e3a65 - std::sys::pal::unix::thread::Thread::new::thread_start::heb455c9485795637 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 46: 0x7f4f6dfb3ac3 - [INFO] [stdout] 47: 0x7f4f6e044bf4 - __clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] cmd::status::tests::modify_same_size [INFO] [stdout] [INFO] [stdout] test result: FAILED. 29 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "9092e9400b4da9cb7b624fe3849101041be0c332beb7f167ea178300bd517175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9092e9400b4da9cb7b624fe3849101041be0c332beb7f167ea178300bd517175", kill_on_drop: false }` [INFO] [stdout] 9092e9400b4da9cb7b624fe3849101041be0c332beb7f167ea178300bd517175 [INFO] testing mmcclimon/pidgit against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmcclimon%2Fpidgit" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmcclimon/pidgit on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmcclimon/pidgit [INFO] finished tweaking git repo https://github.com/mmcclimon/pidgit [INFO] tweaked toml for git repo https://github.com/mmcclimon/pidgit written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mmcclimon/pidgit 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4551d2c9fd64c174f7d792305065a41b461b30919ba8a04f8738c8cb3efd1f9a [INFO] running `Command { std: "docker" "start" "-a" "4551d2c9fd64c174f7d792305065a41b461b30919ba8a04f8738c8cb3efd1f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4551d2c9fd64c174f7d792305065a41b461b30919ba8a04f8738c8cb3efd1f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4551d2c9fd64c174f7d792305065a41b461b30919ba8a04f8738c8cb3efd1f9a", kill_on_drop: false }` [INFO] [stdout] 4551d2c9fd64c174f7d792305065a41b461b30919ba8a04f8738c8cb3efd1f9a [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe595356589b572c6f2972e2ee304338fbfc3a03b17a8ff0083ee622ba4b7177 [INFO] running `Command { std: "docker" "start" "-a" "fe595356589b572c6f2972e2ee304338fbfc3a03b17a8ff0083ee622ba4b7177", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling pidgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `util` is imported redundantly [INFO] [stdout] --> src/cmd/check_ref_format.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `util` is already imported here [INFO] [stdout] 4 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/cmd/diff.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cmd::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/diff.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashObject` is never constructed [INFO] [stdout] --> src/cmd/hash_object.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct HashObject; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Init` is never constructed [INFO] [stdout] --> src/cmd/init.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Init; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Init` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.75s [INFO] running `Command { std: "docker" "inspect" "fe595356589b572c6f2972e2ee304338fbfc3a03b17a8ff0083ee622ba4b7177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe595356589b572c6f2972e2ee304338fbfc3a03b17a8ff0083ee622ba4b7177", kill_on_drop: false }` [INFO] [stdout] fe595356589b572c6f2972e2ee304338fbfc3a03b17a8ff0083ee622ba4b7177 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94b54413a90d039b5ed3b5c995cf6b4c2125336e4aa804c6cf8974c493794de4 [INFO] running `Command { std: "docker" "start" "-a" "94b54413a90d039b5ed3b5c995cf6b4c2125336e4aa804c6cf8974c493794de4", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling assert_fs v1.0.7 [INFO] [stderr] Compiling assert_cmd v1.0.8 [INFO] [stderr] Compiling serial_test_derive v0.7.0 [INFO] [stderr] Compiling serial_test v0.7.0 [INFO] [stderr] Compiling pidgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `util` is imported redundantly [INFO] [stdout] --> src/cmd/check_ref_format.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `util` is already imported here [INFO] [stdout] 4 | use crate::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/cmd/diff.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cmd::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/diff.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashObject` is never constructed [INFO] [stdout] --> src/cmd/hash_object.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct HashObject; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Init` is never constructed [INFO] [stdout] --> src/cmd/init.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Init; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Init` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.22s [INFO] running `Command { std: "docker" "inspect" "94b54413a90d039b5ed3b5c995cf6b4c2125336e4aa804c6cf8974c493794de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b54413a90d039b5ed3b5c995cf6b4c2125336e4aa804c6cf8974c493794de4", kill_on_drop: false }` [INFO] [stdout] 94b54413a90d039b5ed3b5c995cf6b4c2125336e4aa804c6cf8974c493794de4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 94410be352c99ddb72a6445b4aa3e26744ad356a6fa7d0fb30ecc8f47661f513 [INFO] running `Command { std: "docker" "start" "-a" "94410be352c99ddb72a6445b4aa3e26744ad356a6fa7d0fb30ecc8f47661f513", kill_on_drop: false }` [INFO] [stderr] warning: the item `util` is imported redundantly [INFO] [stderr] --> src/cmd/check_ref_format.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::prelude::*; [INFO] [stderr] | ----------------- the item `util` is already imported here [INFO] [stderr] 4 | use crate::util; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Context` is imported redundantly [INFO] [stderr] --> src/cmd/diff.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::cmd::Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 10 | use crate::prelude::*; [INFO] [stderr] | ----------------- the item `Context` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Default` is imported redundantly [INFO] [stderr] --> src/diff.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::default::Default; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:115:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Default` is already defined here [INFO] [stderr] [INFO] [stderr] warning: struct `HashObject` is never constructed [INFO] [stderr] --> src/cmd/hash_object.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | struct HashObject; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HashObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Init` is never constructed [INFO] [stderr] --> src/cmd/init.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct Init; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Init` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `pidgit` (lib test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pidgit-aad6c7a7178fe007) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test cmd::init::tests::init_help ... ok [INFO] [stdout] test cmd::init::tests::init_create_dir ... ok [INFO] [stdout] test cmd::init::tests::init_dot_pidgit_exists ... ok [INFO] [stdout] test cmd::status::tests::only_untracked_files ... ok [INFO] [stdout] test cmd::status::tests::deleted_files ... ok [INFO] [stdout] test cmd::status::tests::no_empty_untracked_dirs ... ok [INFO] [stdout] test diff::myers::tests::basic ... ok [INFO] [stdout] test index::tests::replace_dir_with_file ... ok [INFO] [stdout] test index::tests::replace_dir_with_file_recursive ... ok [INFO] [stdout] test cmd::status::tests::change_mode ... ok [INFO] [stdout] test cmd::status::tests::deleted_file_from_index ... ok [INFO] [stdout] test cmd::status::tests::untracked_dirs ... ok [INFO] [stdout] test index::tests::add_file ... ok [INFO] [stdout] test lockfile::tests::create ... ok [INFO] [stdout] test lockfile::tests::write_commit ... ok [INFO] [stdout] test lockfile::tests::lock ... ok [INFO] [stdout] test cmd::status::tests::modify_same_size ... ok [INFO] [stdout] test index::tests::replace_file_with_dir ... ok [INFO] [stdout] test cmd::status::tests::deleted_dir_from_index ... ok [INFO] [stdout] test index::tests::entry_from_path ... ok [INFO] [stdout] test cmd::status::tests::added_file_in_tracked_dir ... ok [INFO] [stdout] test cmd::status::tests::added_file_in_untracked_dir ... ok [INFO] [stdout] test util::rev_parse::tests::parse ... ok [INFO] [stdout] test lockfile::tests::write_rollback ... ok [INFO] [stdout] test util::rev_parse::tests::refnames ... ok [INFO] [stdout] test cmd::status::tests::simple_modification ... ok [INFO] [stdout] test cmd::status::tests::modified_content ... ok [INFO] [stdout] test cmd::status::tests::untracked_and_others ... ok [INFO] [stdout] test cmd::status::tests::untracked_dirs_nested ... ok [INFO] [stdout] test cmd::status::tests::modified_mode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "94410be352c99ddb72a6445b4aa3e26744ad356a6fa7d0fb30ecc8f47661f513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94410be352c99ddb72a6445b4aa3e26744ad356a6fa7d0fb30ecc8f47661f513", kill_on_drop: false }` [INFO] [stdout] 94410be352c99ddb72a6445b4aa3e26744ad356a6fa7d0fb30ecc8f47661f513