[INFO] fetching crate git-snapshot 0.1.1... [INFO] testing git-snapshot-0.1.1 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate git-snapshot 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate git-snapshot 0.1.1 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 crates.io crate git-snapshot 0.1.1 [INFO] finished tweaking crates.io crate git-snapshot 0.1.1 [INFO] tweaked toml for crates.io crate git-snapshot 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate git-snapshot 0.1.1 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 tokio-util v0.7.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.9 [INFO] [stderr] Downloaded kqueue v1.0.6 [INFO] [stderr] Downloaded shellexpand v2.1.0 [INFO] [stderr] Downloaded tokio-stream v0.1.9 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded notify v5.0.0-pre.15 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded tokio v1.19.2 [INFO] [stderr] Downloaded crossbeam-channel v0.5.5 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded filetime v0.2.16 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] be85f259af7c58399bfaaed4b52610174f715ad5e2be92fa48881864067531cb [INFO] running `Command { std: "docker" "start" "-a" "be85f259af7c58399bfaaed4b52610174f715ad5e2be92fa48881864067531cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be85f259af7c58399bfaaed4b52610174f715ad5e2be92fa48881864067531cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be85f259af7c58399bfaaed4b52610174f715ad5e2be92fa48881864067531cb", kill_on_drop: false }` [INFO] [stdout] be85f259af7c58399bfaaed4b52610174f715ad5e2be92fa48881864067531cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cb1a57882f258392826402456067794724623d0610a70e433a215677ecf456cd [INFO] running `Command { std: "docker" "start" "-a" "cb1a57882f258392826402456067794724623d0610a70e433a215677ecf456cd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling crossbeam-utils v0.8.9 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling notify v5.0.0-pre.15 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling shellexpand v2.1.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling humantime-serde v1.1.1 [INFO] [stderr] Compiling git2 v0.14.4 [INFO] [stderr] Compiling git-snapshot v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/repo_watcher.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(SyncWatcher); [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repo.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | let config = config.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `git2::Config` does not implement `Clone`, so calling `clone` on `&git2::Config` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 49s [INFO] running `Command { std: "docker" "inspect" "cb1a57882f258392826402456067794724623d0610a70e433a215677ecf456cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb1a57882f258392826402456067794724623d0610a70e433a215677ecf456cd", kill_on_drop: false }` [INFO] [stdout] cb1a57882f258392826402456067794724623d0610a70e433a215677ecf456cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 09c337c8e9b0ce9f95792dcb3cd9b88f0b00bddfe6562f0b83961b755b9547d1 [INFO] running `Command { std: "docker" "start" "-a" "09c337c8e9b0ce9f95792dcb3cd9b88f0b00bddfe6562f0b83961b755b9547d1", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/repo_watcher.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(SyncWatcher); [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repo.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | let config = config.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `git2::Config` does not implement `Clone`, so calling `clone` on `&git2::Config` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling git-snapshot v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/repo.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/repo_watcher.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | [INFO] [stdout] 145 | use super::*; [INFO] [stdout] | -------- the item `Duration` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WatchMode` is imported redundantly [INFO] [stdout] --> src/repo_watcher.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 145 | use super::*; [INFO] [stdout] | -------- the item `WatchMode` is already imported here [INFO] [stdout] ... [INFO] [stdout] 152 | watcher::WatchMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Repo` is imported redundantly [INFO] [stdout] --> src/repo_watcher.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 145 | use super::*; [INFO] [stdout] | -------- the item `Repo` is already imported here [INFO] [stdout] ... [INFO] [stdout] 153 | Repo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/repo_watcher.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(SyncWatcher); [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repo.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | let config = config.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `git2::Config` does not implement `Clone`, so calling `clone` on `&git2::Config` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.60s [INFO] running `Command { std: "docker" "inspect" "09c337c8e9b0ce9f95792dcb3cd9b88f0b00bddfe6562f0b83961b755b9547d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c337c8e9b0ce9f95792dcb3cd9b88f0b00bddfe6562f0b83961b755b9547d1", kill_on_drop: false }` [INFO] [stdout] 09c337c8e9b0ce9f95792dcb3cd9b88f0b00bddfe6562f0b83961b755b9547d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e3d03589972478fbc3a390fe9966833217ea706bd4be7acedbe5057613162031 [INFO] running `Command { std: "docker" "start" "-a" "e3d03589972478fbc3a390fe9966833217ea706bd4be7acedbe5057613162031", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/repo_watcher.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct RepoWatcher(SyncWatcher); [INFO] [stderr] | ----------- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 34 | pub struct RepoWatcher(()); [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/repo.rs:173:32 [INFO] [stderr] | [INFO] [stderr] 173 | let config = config.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `git2::Config` does not implement `Clone`, so calling `clone` on `&git2::Config` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `git-snapshot` (lib) generated 2 warnings (run `cargo fix --lib -p git-snapshot` to apply 1 suggestion) [INFO] [stderr] warning: the item `Path` is imported redundantly [INFO] [stderr] --> src/repo.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 254 | use super::*; [INFO] [stderr] | -------- the item `Path` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Duration` is imported redundantly [INFO] [stderr] --> src/repo_watcher.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 144 | [INFO] [stderr] 145 | use super::*; [INFO] [stderr] | -------- the item `Duration` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `WatchMode` is imported redundantly [INFO] [stderr] --> src/repo_watcher.rs:152:9 [INFO] [stderr] | [INFO] [stderr] 145 | use super::*; [INFO] [stderr] | -------- the item `WatchMode` is already imported here [INFO] [stderr] ... [INFO] [stderr] 152 | watcher::WatchMode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Repo` is imported redundantly [INFO] [stderr] --> src/repo_watcher.rs:153:9 [INFO] [stderr] | [INFO] [stderr] 145 | use super::*; [INFO] [stderr] | -------- the item `Repo` is already imported here [INFO] [stderr] ... [INFO] [stderr] 153 | Repo, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `git-snapshot` (lib test) generated 6 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_snapshot-b1b5df41d4bf3b1c) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test repo::tests::snapshot_invalid_head ... ok [INFO] [stdout] test repo::tests::snapshot_remote_config_snapshotdisabled ... ok [INFO] [stdout] test repo::tests::snapshot_branch_config_disabled ... ok [INFO] [stdout] test repo::tests::snapshot ... ok [INFO] [stdout] test repo::tests::repo_from_path ... ok [INFO] [stdout] test repo::tests::snapshot_remote_config_snapshotbranch ... ok [INFO] [stdout] test repo::tests::snapshot_branch_config_snapshotbranch ... ok [INFO] [stdout] test repo::tests::snapshot_no_changes ... ok [INFO] [stdout] test repo::tests::snapshot_snapshot_config_snapshotbranch ... ok [INFO] [stdout] test repo::tests::snapshot_snapshot_config_env_expansion ... ok [INFO] [stdout] test repo::tests::test_snapshot_empty_branch ... ok [INFO] [stdout] test repo::tests::snapshot_remote_push ... ok [INFO] [stdout] test util::tests::default_value ... ok [INFO] [stdout] test util::tests::mutliple_keys ... ok [INFO] [stdout] test util::tests::bool_from_config ... ok [INFO] [stdout] test util::tests::string_from_config ... ok [INFO] [stdout] test repo_watcher::tests::repo_watcher ... ok [INFO] [stdout] test watcher::tests::unwatch ... ok [INFO] [stdout] test repo_watcher::tests::config_file ... ok [INFO] [stdout] test watcher::tests::event_watcher ... ok [INFO] [stdout] test watcher::tests::debounce ... ok [INFO] [stdout] test watcher::tests::poll_watcher ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/git_snapshot-4aee3f3db0836ce5) [INFO] [stdout] test repo_watcher::tests::config_file_change ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.37s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests git-snapshot [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e3d03589972478fbc3a390fe9966833217ea706bd4be7acedbe5057613162031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d03589972478fbc3a390fe9966833217ea706bd4be7acedbe5057613162031", kill_on_drop: false }` [INFO] [stdout] e3d03589972478fbc3a390fe9966833217ea706bd4be7acedbe5057613162031 [INFO] testing git-snapshot-0.1.1 against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate git-snapshot 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate git-snapshot 0.1.1 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 crates.io crate git-snapshot 0.1.1 [INFO] finished tweaking crates.io crate git-snapshot 0.1.1 [INFO] tweaked toml for crates.io crate git-snapshot 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate git-snapshot 0.1.1 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b62306f91edc20ac6b74ee05a3eee5ca1bf1e98642726b3eb5f85091109a79a8 [INFO] running `Command { std: "docker" "start" "-a" "b62306f91edc20ac6b74ee05a3eee5ca1bf1e98642726b3eb5f85091109a79a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b62306f91edc20ac6b74ee05a3eee5ca1bf1e98642726b3eb5f85091109a79a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b62306f91edc20ac6b74ee05a3eee5ca1bf1e98642726b3eb5f85091109a79a8", kill_on_drop: false }` [INFO] [stdout] b62306f91edc20ac6b74ee05a3eee5ca1bf1e98642726b3eb5f85091109a79a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a1714df1e8df763c2ec45612b192449b487c73119f97eeb1946e4e1e363b2b04 [INFO] running `Command { std: "docker" "start" "-a" "a1714df1e8df763c2ec45612b192449b487c73119f97eeb1946e4e1e363b2b04", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.9 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling notify v5.0.0-pre.15 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling shellexpand v2.1.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling humantime-serde v1.1.1 [INFO] [stderr] Compiling git2 v0.14.4 [INFO] [stderr] Compiling git-snapshot v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/repo_watcher.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(SyncWatcher); [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repo.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | let config = config.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `git2::Config` does not implement `Clone`, so calling `clone` on `&git2::Config` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 27s [INFO] running `Command { std: "docker" "inspect" "a1714df1e8df763c2ec45612b192449b487c73119f97eeb1946e4e1e363b2b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1714df1e8df763c2ec45612b192449b487c73119f97eeb1946e4e1e363b2b04", kill_on_drop: false }` [INFO] [stdout] a1714df1e8df763c2ec45612b192449b487c73119f97eeb1946e4e1e363b2b04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 805543f2fc07e04b1874929a5eadda9141cbeb70d4175a9c8ba8baf4c0f13476 [INFO] running `Command { std: "docker" "start" "-a" "805543f2fc07e04b1874929a5eadda9141cbeb70d4175a9c8ba8baf4c0f13476", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/repo_watcher.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(SyncWatcher); [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repo.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | let config = config.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `git2::Config` does not implement `Clone`, so calling `clone` on `&git2::Config` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling git-snapshot v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/repo.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/repo_watcher.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | [INFO] [stdout] 145 | use super::*; [INFO] [stdout] | -------- the item `Duration` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WatchMode` is imported redundantly [INFO] [stdout] --> src/repo_watcher.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 145 | use super::*; [INFO] [stdout] | -------- the item `WatchMode` is already imported here [INFO] [stdout] ... [INFO] [stdout] 152 | watcher::WatchMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Repo` is imported redundantly [INFO] [stdout] --> src/repo_watcher.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 145 | use super::*; [INFO] [stdout] | -------- the item `Repo` is already imported here [INFO] [stdout] ... [INFO] [stdout] 153 | Repo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/repo_watcher.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(SyncWatcher); [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | pub struct RepoWatcher(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repo.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | let config = config.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `git2::Config` does not implement `Clone`, so calling `clone` on `&git2::Config` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.85s [INFO] running `Command { std: "docker" "inspect" "805543f2fc07e04b1874929a5eadda9141cbeb70d4175a9c8ba8baf4c0f13476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805543f2fc07e04b1874929a5eadda9141cbeb70d4175a9c8ba8baf4c0f13476", kill_on_drop: false }` [INFO] [stdout] 805543f2fc07e04b1874929a5eadda9141cbeb70d4175a9c8ba8baf4c0f13476 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 74436304b4aba93b0452726e132bdbe88264a015cb95d6e1e0e8b03c6e78fb27 [INFO] running `Command { std: "docker" "start" "-a" "74436304b4aba93b0452726e132bdbe88264a015cb95d6e1e0e8b03c6e78fb27", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/repo_watcher.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct RepoWatcher(SyncWatcher); [INFO] [stderr] | ----------- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 34 | pub struct RepoWatcher(()); [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/repo.rs:173:32 [INFO] [stderr] | [INFO] [stderr] 173 | let config = config.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `git2::Config` does not implement `Clone`, so calling `clone` on `&git2::Config` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `git-snapshot` (lib) generated 2 warnings (run `cargo fix --lib -p git-snapshot` to apply 1 suggestion) [INFO] [stderr] warning: the item `Path` is imported redundantly [INFO] [stderr] --> src/repo.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 254 | use super::*; [INFO] [stderr] | -------- the item `Path` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Duration` is imported redundantly [INFO] [stderr] --> src/repo_watcher.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 144 | [INFO] [stderr] 145 | use super::*; [INFO] [stderr] | -------- the item `Duration` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `WatchMode` is imported redundantly [INFO] [stderr] --> src/repo_watcher.rs:152:9 [INFO] [stderr] | [INFO] [stderr] 145 | use super::*; [INFO] [stderr] | -------- the item `WatchMode` is already imported here [INFO] [stderr] ... [INFO] [stderr] 152 | watcher::WatchMode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Repo` is imported redundantly [INFO] [stderr] --> src/repo_watcher.rs:153:9 [INFO] [stderr] | [INFO] [stderr] 145 | use super::*; [INFO] [stderr] | -------- the item `Repo` is already imported here [INFO] [stderr] ... [INFO] [stderr] 153 | Repo, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `git-snapshot` (lib test) generated 6 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_snapshot-b1b5df41d4bf3b1c) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test repo::tests::snapshot_branch_config_snapshotbranch ... ok [INFO] [stdout] test repo::tests::snapshot_no_changes ... ok [INFO] [stdout] test repo::tests::snapshot ... ok [INFO] [stdout] test repo::tests::snapshot_remote_config_snapshotdisabled ... ok [INFO] [stdout] test repo::tests::snapshot_snapshot_config_env_expansion ... ok [INFO] [stdout] test repo::tests::snapshot_snapshot_config_snapshotbranch ... ok [INFO] [stdout] test repo::tests::snapshot_remote_config_snapshotbranch ... ok [INFO] [stdout] test repo::tests::repo_from_path ... ok [INFO] [stdout] test repo::tests::snapshot_branch_config_disabled ... ok [INFO] [stdout] test repo::tests::snapshot_invalid_head ... ok [INFO] [stdout] test util::tests::default_value ... ok [INFO] [stdout] test util::tests::bool_from_config ... ok [INFO] [stdout] test repo::tests::test_snapshot_empty_branch ... ok [INFO] [stdout] test repo::tests::snapshot_remote_push ... ok [INFO] [stdout] test util::tests::string_from_config ... ok [INFO] [stdout] test util::tests::mutliple_keys ... ok [INFO] [stdout] test repo_watcher::tests::repo_watcher ... ok [INFO] [stdout] test repo_watcher::tests::config_file ... ok [INFO] [stdout] test watcher::tests::event_watcher ... ok [INFO] [stdout] test watcher::tests::unwatch ... ok [INFO] [stdout] test watcher::tests::poll_watcher ... ok [INFO] [stdout] test watcher::tests::debounce ... FAILED [INFO] [stdout] test repo_watcher::tests::config_file_change ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- watcher::tests::debounce stdout ---- [INFO] [stdout] thread 'watcher::tests::debounce' panicked at src/watcher.rs:203:9: [INFO] [stdout] assertion failed: rx.try_recv().is_err() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a4158bbe56 - std::backtrace_rs::backtrace::libunwind::trace::hbf3981e6c8a62f19 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x55a4158bbe56 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d13053d67c404cc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a4158bbe56 - std::sys_common::backtrace::_print_fmt::hd24dc5b701eaf8ad [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55a4158bbe56 - ::fmt::h1d0155c7c5a7d116 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55a4158e616c - core::fmt::rt::Argument::fmt::h462c7a4781d69908 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x55a4158e616c - core::fmt::write::h3cadc3d0c35667c3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x55a4158b8caf - std::io::Write::write_fmt::h7b46babfe8aff3fc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x55a4158bbc04 - std::sys_common::backtrace::_print::h21e0ad4a03aa55df [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55a4158bbc04 - std::sys_common::backtrace::print::hb7cfd89cda9bdca7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55a4158bd97b - std::panicking::default_hook::{{closure}}::hceb0cad555a61bc8 [INFO] [stdout] 10: 0x55a4158bd64d - std::panicking::default_hook::h00eb745c4c12778b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x55a41572a437 - as core::ops::function::Fn>::call::h6a7083dbc9bd7b5f [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x55a41572a437 - test::test_main::{{closure}}::h4db87ac2515c25e3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x55a4158bdfb0 - as core::ops::function::Fn>::call::hf3b7bc2e2257730b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x55a4158bdfb0 - std::panicking::rust_panic_with_hook::hccddb3269d601551 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x55a4158bdcb9 - std::panicking::begin_panic_handler::{{closure}}::h1759cdf989495c64 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:652:13 [INFO] [stdout] 16: 0x55a4158bc336 - std::sys_common::backtrace::__rust_end_short_backtrace::h209794238b4d13a4 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55a4158bda24 - rust_begin_unwind [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x55a4156b5475 - core::panicking::panic_fmt::ha17ebef8fbaa0a3e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55a4156b5533 - core::panicking::panic::h9fb5d6cfd10e47f7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:144:5 [INFO] [stdout] 20: 0x55a4156c8b1e - git_snapshot::watcher::tests::debounce::{{closure}}::h77b2b14e84dfa527 [INFO] [stdout] at /opt/rustwide/workdir/src/watcher.rs:203:9 [INFO] [stdout] 21: 0x55a4156c8b1e - tokio::park::thread::CachedParkThread::block_on::{{closure}}::h418b0ec6182e7a8e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.19.2/src/park/thread.rs:263:54 [INFO] [stdout] 22: 0x55a4156c8b1e - tokio::coop::with_budget::{{closure}}::h807e402a5940de93 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.19.2/src/coop.rs:102:9 [INFO] [stdout] 23: 0x55a4156c8b1e - std::thread::local::LocalKey::try_with::h910b437f0e3b4974 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/local.rs:286:16 [INFO] [stdout] 24: 0x55a4156c8b1e - std::thread::local::LocalKey::with::hba12fad49dc23c87 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/local.rs:262:9 [INFO] [stdout] 25: 0x55a4156c8b1e - tokio::coop::with_budget::hc55bb01228a8b7b7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.19.2/src/coop.rs:95:13 [INFO] [stdout] 26: 0x55a4156c8b1e - tokio::coop::budget::h481292b1891cd2d5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.19.2/src/coop.rs:72:5 [INFO] [stdout] 27: 0x55a4156c8b1e - tokio::park::thread::CachedParkThread::block_on::hfd83932613d92236 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.19.2/src/park/thread.rs:263:31 [INFO] [stdout] 28: 0x55a4156d3e9f - tokio::runtime::enter::Enter::block_on::hae02c1434583806c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.19.2/src/runtime/enter.rs:151:13 [INFO] [stdout] 29: 0x55a4156d3e9f - tokio::runtime::thread_pool::ThreadPool::block_on::h9b748313ef568bdb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.19.2/src/runtime/thread_pool/mod.rs:90:15 [INFO] [stdout] 30: 0x55a4156e17a8 - tokio::runtime::Runtime::block_on::hdfd8f7cc4a4acfc5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.19.2/src/runtime/mod.rs:482:43 [INFO] [stdout] 31: 0x55a4156e982e - git_snapshot::watcher::tests::debounce::he6482b225c78e8b1 [INFO] [stdout] at /opt/rustwide/workdir/src/watcher.rs:209:9 [INFO] [stdout] 32: 0x55a4156def09 - git_snapshot::watcher::tests::debounce::{{closure}}::hf814edf957dd420d [INFO] [stdout] at /opt/rustwide/workdir/src/watcher.rs:194:24 [INFO] [stdout] 33: 0x55a4156def09 - core::ops::function::FnOnce::call_once::h8598914a52ddff25 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 34: 0x55a41572fc3f - core::ops::function::FnOnce::call_once::hb293dddd1a0c8d0c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 35: 0x55a41572fc3f - test::__rust_begin_short_backtrace::hcc33cf50a0d42744 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:620:18 [INFO] [stdout] 36: 0x55a41572e7b0 - test::run_test_in_process::{{closure}}::h1a67b8b225cf5559 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:60 [INFO] [stdout] 37: 0x55a41572e7b0 - as core::ops::function::FnOnce<()>>::call_once::h6c8366f6b1a529d0 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x55a41572e7b0 - std::panicking::try::do_call::h3ac771f4eea356d5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 39: 0x55a41572e7b0 - std::panicking::try::h2b1799e4f57e5bcf [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 40: 0x55a41572e7b0 - std::panic::catch_unwind::h0a3cc3fea72ac271 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 41: 0x55a41572e7b0 - test::run_test_in_process::h47356101e0c4cc43 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:27 [INFO] [stdout] 42: 0x55a41572e7b0 - test::run_test::{{closure}}::hfc86d13e98ee1936 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:566:43 [INFO] [stdout] 43: 0x55a4156f6af3 - test::run_test::{{closure}}::h077c30ad86447616 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:594:41 [INFO] [stdout] 44: 0x55a4156f6af3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7a0647371687c548 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 45: 0x55a4156fb78f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0ade0df8a561803e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 46: 0x55a4156fb78f - as core::ops::function::FnOnce<()>>::call_once::h94e6781319385c1d [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 47: 0x55a4156fb78f - std::panicking::try::do_call::h2d8e7d2812ed142e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 48: 0x55a4156fb78f - std::panicking::try::hfec8a6adb9bfcaea [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 49: 0x55a4156fb78f - std::panic::catch_unwind::hf488fb91a41eb5b5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 50: 0x55a4156fb78f - std::thread::Builder::spawn_unchecked_::{{closure}}::h306975a3cadd5153 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 51: 0x55a4156fb78f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4f4ed26f27d558ae [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 52: 0x55a4158c3dd5 - as core::ops::function::FnOnce>::call_once::h17d6fdbdde1f730c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 53: 0x55a4158c3dd5 - as core::ops::function::FnOnce>::call_once::h298d88b0d0cf4d06 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 54: 0x55a4158c3dd5 - std::sys::pal::unix::thread::Thread::new::thread_start::h1ecd97591626fa72 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 55: 0x7f83734bcac3 - [INFO] [stdout] 56: 0x7f837354dbf4 - __clone [INFO] [stdout] 57: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] watcher::tests::debounce [INFO] [stdout] [INFO] [stdout] test result: FAILED. 22 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.34s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "74436304b4aba93b0452726e132bdbe88264a015cb95d6e1e0e8b03c6e78fb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74436304b4aba93b0452726e132bdbe88264a015cb95d6e1e0e8b03c6e78fb27", kill_on_drop: false }` [INFO] [stdout] 74436304b4aba93b0452726e132bdbe88264a015cb95d6e1e0e8b03c6e78fb27