[INFO] fetching crate git-scanner 0.2.0... [INFO] testing git-scanner-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate git-scanner 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate git-scanner 0.2.0 [INFO] finished tweaking crates.io crate git-scanner 0.2.0 [INFO] tweaked toml for crates.io crate git-scanner 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate git-scanner 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 148 packages to latest compatible versions [INFO] [stderr] Adding derive-getters v0.1.1 (available: v0.5.0) [INFO] [stderr] Adding derive_builder v0.8.1 (available: v0.20.2) [INFO] [stderr] Adding erased-serde v0.3.31 (available: v0.4.9) [INFO] [stderr] Adding git2 v0.13.25 (available: v0.20.2) [INFO] [stderr] Adding indicatif v0.13.0 (available: v0.18.3) [INFO] [stderr] Adding path-slash v0.1.5 (available: v0.2.1) [INFO] [stderr] Adding pretty_assertions v0.6.1 (available: v1.4.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding zip v0.5.13 (available: v6.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4e5eb731ff07d6570f2fe6dde44ed0768a6ab12e0f2740c65e540efedf4c9b1 [INFO] running `Command { std: "docker" "start" "-a" "e4e5eb731ff07d6570f2fe6dde44ed0768a6ab12e0f2740c65e540efedf4c9b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4e5eb731ff07d6570f2fe6dde44ed0768a6ab12e0f2740c65e540efedf4c9b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4e5eb731ff07d6570f2fe6dde44ed0768a6ab12e0f2740c65e540efedf4c9b1", kill_on_drop: false }` [INFO] [stdout] e4e5eb731ff07d6570f2fe6dde44ed0768a6ab12e0f2740c65e540efedf4c9b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32f5be2bbbbf396108ce41fd35ae8ac511143de12d7e83e4138abd4bf2973a57 [INFO] running `Command { std: "docker" "start" "-a" "32f5be2bbbbf396108ce41fd35ae8ac511143de12d7e83e4138abd4bf2973a57", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling derive_builder v0.8.1 [INFO] [stderr] Compiling console v0.16.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.12.26+1.3.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling indicatif v0.13.0 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling path-slash v0.1.5 [INFO] [stderr] Compiling derive-getters v0.1.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling derive_builder_core v0.8.1 [INFO] [stderr] Compiling git2 v0.13.25 [INFO] [stderr] Compiling git-scanner v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/git_file_history.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | let fmt_time = Utc.timestamp(commit_time as i64, 0).to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/git.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | let date_time = NaiveDateTime::from_timestamp(secs_since_epoch as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_num_seconds_from_midnight`: use `from_num_seconds_from_midnight_opt()` instead [INFO] [stdout] --> src/git.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | .and_time(NaiveTime::from_num_seconds_from_midnight(0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/git.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | .timestamp() as u64 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git_logger.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn iterator(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn iterator(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "32f5be2bbbbf396108ce41fd35ae8ac511143de12d7e83e4138abd4bf2973a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32f5be2bbbbf396108ce41fd35ae8ac511143de12d7e83e4138abd4bf2973a57", kill_on_drop: false }` [INFO] [stdout] 32f5be2bbbbf396108ce41fd35ae8ac511143de12d7e83e4138abd4bf2973a57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30010bdd8c83048a7b7a83ae284ac406e07f9ecefbf457ce7196e0a412427b56 [INFO] running `Command { std: "docker" "start" "-a" "30010bdd8c83048a7b7a83ae284ac406e07f9ecefbf457ce7196e0a412427b56", kill_on_drop: false }` [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/git_file_history.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | let fmt_time = Utc.timestamp(commit_time as i64, 0).to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/git.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | let date_time = NaiveDateTime::from_timestamp(secs_since_epoch as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_num_seconds_from_midnight`: use `from_num_seconds_from_midnight_opt()` instead [INFO] [stdout] --> src/git.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | .and_time(NaiveTime::from_num_seconds_from_midnight(0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/git.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | .timestamp() as u64 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git_logger.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn iterator(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn iterator(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling git-scanner v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_shared` [INFO] [stdout] --> src/git_file_history.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | use test_shared::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_shared`, use `cargo add test_shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_shared` [INFO] [stdout] --> src/git_logger.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | use test_shared::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_shared`, use `cargo add test_shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_shared` [INFO] [stdout] --> src/file_walker.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use test_shared::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_shared`, use `cargo add test_shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_shared` [INFO] [stdout] --> src/flare.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use test_shared::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_shared`, use `cargo add test_shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/git_file_history.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | let fmt_time = Utc.timestamp(commit_time as i64, 0).to_string(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/git.rs:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | let date_time = NaiveDateTime::from_timestamp(secs_since_epoch as i64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_num_seconds_from_midnight`: use `from_num_seconds_from_midnight_opt()` instead [INFO] [stdout] --> src/git.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | .and_time(NaiveTime::from_num_seconds_from_midnight(0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead [INFO] [stdout] --> src/git.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | .timestamp() as u64 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `git-scanner` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "30010bdd8c83048a7b7a83ae284ac406e07f9ecefbf457ce7196e0a412427b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30010bdd8c83048a7b7a83ae284ac406e07f9ecefbf457ce7196e0a412427b56", kill_on_drop: false }` [INFO] [stdout] 30010bdd8c83048a7b7a83ae284ac406e07f9ecefbf457ce7196e0a412427b56