[INFO] updating cached repository https://github.com/Patryk27/lxd-snapper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fcbb1e1c5f5754cadc87a00ccce4245370e9b7e [INFO] testing Patryk27/lxd-snapper/4fcbb1e1c5f5754cadc87a00ccce4245370e9b7e against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatryk27%2Flxd-snapper" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Patryk27/lxd-snapper on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Patryk27/lxd-snapper [INFO] finished tweaking git repo https://github.com/Patryk27/lxd-snapper [INFO] tweaked toml for git repo https://github.com/Patryk27/lxd-snapper written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Patryk27/lxd-snapper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e755107b49310f540342b03ec54856ef79f071ae28da47d2c20c7046ed9ed57 [INFO] running `Command { std: "docker" "start" "-a" "2e755107b49310f540342b03ec54856ef79f071ae28da47d2c20c7046ed9ed57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e755107b49310f540342b03ec54856ef79f071ae28da47d2c20c7046ed9ed57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e755107b49310f540342b03ec54856ef79f071ae28da47d2c20c7046ed9ed57", kill_on_drop: false }` [INFO] [stdout] 2e755107b49310f540342b03ec54856ef79f071ae28da47d2c20c7046ed9ed57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af32fb1f1eb58f68c03101437b24135dc61c20ef732c42108cf1198f0c763ed1 [INFO] running `Command { std: "docker" "start" "-a" "af32fb1f1eb58f68c03101437b24135dc61c20ef732c42108cf1198f0c763ed1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling pathsearch v0.2.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling lib_lxd v0.0.0 (/opt/rustwide/workdir/libs/lxd) [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling lxd-snapper v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.42s [INFO] running `Command { std: "docker" "inspect" "af32fb1f1eb58f68c03101437b24135dc61c20ef732c42108cf1198f0c763ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af32fb1f1eb58f68c03101437b24135dc61c20ef732c42108cf1198f0c763ed1", kill_on_drop: false }` [INFO] [stdout] af32fb1f1eb58f68c03101437b24135dc61c20ef732c42108cf1198f0c763ed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 822b6f7896f05c9a48d9fe764fc1d89eedbd224ff608e5c73442e31151f772e1 [INFO] running `Command { std: "docker" "start" "-a" "822b6f7896f05c9a48d9fe764fc1d89eedbd224ff608e5c73442e31151f772e1", kill_on_drop: false }` [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling pretty_assertions v1.0.0 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling lxd-snapper v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.30s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/lxd_snapper-afc89fe8d1115f19) [INFO] running `Command { std: "docker" "inspect" "822b6f7896f05c9a48d9fe764fc1d89eedbd224ff608e5c73442e31151f772e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822b6f7896f05c9a48d9fe764fc1d89eedbd224ff608e5c73442e31151f772e1", kill_on_drop: false }` [INFO] [stdout] 822b6f7896f05c9a48d9fe764fc1d89eedbd224ff608e5c73442e31151f772e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5d9024cbc452a9b9a8ee257dddd4af715acc3816869dbb7f5979109a8660bc82 [INFO] running `Command { std: "docker" "start" "-a" "5d9024cbc452a9b9a8ee257dddd4af715acc3816869dbb7f5979109a8660bc82", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lxd_snapper-afc89fe8d1115f19) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test commands::backup::tests::test ... ok [INFO] [stdout] test commands::debug_nuke::tests::given_empty_policy::deletes_no_snapshots ... ok [INFO] [stdout] test commands::backup_and_prune::tests::when_backup_succeeds::and_prune_succeeds::returns_ok ... ok [INFO] [stdout] test commands::backup_and_prune::tests::when_backup_succeeds::and_prune_fails::returns_prune_error ... ok [INFO] [stdout] test commands::debug_list_instances::tests::test ... ok [INFO] [stdout] test commands::prune::find_snapshots::tests::returns_snapshots_sorted_by_creation_date_descending ... ok [INFO] [stdout] test commands::debug_nuke::tests::given_some_policy::deletes_snapshots_only_for_instances_matching_that_policy ... ok [INFO] [stdout] test commands::prune::find_snapshots_to_keep::tests::keep_daily ... ok [INFO] [stdout] test commands::prune::find_snapshots_to_keep::tests::keep_daily_and_weekly ... ok [INFO] [stdout] test commands::backup_and_prune::tests::when_backup_fails::and_prune_succeeds::returns_backup_error ... ok [INFO] [stdout] test commands::prune::find_snapshots_to_keep::tests::keep_hourly ... ok [INFO] [stdout] test commands::prune::find_snapshots::tests::returns_only_snapshots_matching_format ... ok [INFO] [stdout] test commands::prune::find_snapshots_to_keep::tests::keep_monthly ... ok [INFO] [stdout] test commands::prune::find_snapshots_to_keep::tests::keep_hourly_and_daily ... ok [INFO] [stdout] test commands::backup_and_prune::tests::when_backup_fails::and_prune_fails::returns_both_errors ... ok [INFO] [stdout] test commands::prune::find_snapshots_to_keep::tests::keep_weekly ... ok [INFO] [stdout] test commands::validate::tests::missing_config ... ok [INFO] [stdout] test commands::prune::find_snapshots_to_keep::tests::keep_last ... ok [INFO] [stdout] test config::hooks::tests::render::test ... ok [INFO] [stdout] test commands::validate::tests::missing_lxc_path ... ok [INFO] [stdout] test commands::prune::find_snapshots_to_keep::tests::keep_yearly ... ok [INFO] [stdout] test config::policy::tests::applies_to::policy_with_excluded_instances::applies_to_all_instances_except_the_ones_with_given_names ... ok [INFO] [stdout] test config::policy::tests::applies_to::policy_with_excluded_projects::applies_to_all_instances_except_the_ones_belonging_to_given_project ... ok [INFO] [stdout] test commands::prune::tests::test ... ok [INFO] [stdout] test config::policies::tests::build::cascading ... ok [INFO] [stdout] test config::policy::tests::applies_to::policy_with_excluded_projects_and_excluded_instances_and_excluded_statuses::applies_to_all_instances_except_the_ones_with_given_projects_and_names_and_statuses ... ok [INFO] [stdout] test config::policy::tests::applies_to::policy_with_excluded_statuses::applies_to_all_instances_except_the_ones_with_given_statuses ... ok [INFO] [stdout] test config::policy::tests::applies_to::policy_with_included_instances::applies_only_to_instances_with_given_names ... ok [INFO] [stdout] test config::policy::tests::applies_to::policy_with_included_projects::applies_only_to_instances_belonging_to_given_project ... ok [INFO] [stdout] test config::policy::tests::applies_to::policy_with_included_projects_and_included_instances_and_included_statuses::applies_only_to_instances_with_given_projects_and_names_and_statuses ... ok [INFO] [stdout] test config::policy::tests::applies_to::policy_with_included_statuses::applies_only_to_instances_with_given_statuses ... ok [INFO] [stdout] test config::policy::tests::applies_to::policy_with_no_restrictions::applies_to_every_instance ... ok [INFO] [stdout] test config::policy::tests::merge_with::test ... ok [INFO] [stdout] test config::tests::matches_snapshot_name::given_empty_prefix::returns_always_true ... ok [INFO] [stdout] test config::tests::matches_snapshot_name::given_some_prefix::returns_true_when_snapshot_name_begins_with_this_prefix ... ok [INFO] [stdout] test config::tests::snapshot_name::given_empty_prefix::returns_snapshot_name ... ok [INFO] [stdout] test config::tests::snapshot_name::given_some_prefix::returns_snapshot_name ... ok [INFO] [stdout] test config::tests::load::examples ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5d9024cbc452a9b9a8ee257dddd4af715acc3816869dbb7f5979109a8660bc82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d9024cbc452a9b9a8ee257dddd4af715acc3816869dbb7f5979109a8660bc82", kill_on_drop: false }` [INFO] [stdout] 5d9024cbc452a9b9a8ee257dddd4af715acc3816869dbb7f5979109a8660bc82