[INFO] fetching crate is_affected 0.5.0... [INFO] testing is_affected-0.5.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate is_affected 0.5.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate is_affected 0.5.0 [INFO] finished tweaking crates.io crate is_affected 0.5.0 [INFO] tweaked toml for crates.io crate is_affected 0.5.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate is_affected 0.5.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate is_affected 0.5.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.23.0 [INFO] [stderr] Downloaded semver v1.0.19 [INFO] [stderr] Downloaded hermit-abi v0.3.3 [INFO] [stderr] Downloaded is-terminal v0.4.9 [INFO] [stderr] Downloaded anstyle-wincon v3.0.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded anstream v0.6.4 [INFO] [stderr] Downloaded anstyle-parse v0.2.2 [INFO] [stderr] Downloaded clap_derive v4.4.2 [INFO] [stderr] Downloaded url v2.4.1 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded indexmap v2.6.0 [INFO] [stderr] Downloaded toml_edit v0.22.22 [INFO] [stderr] Downloaded hashbrown v0.15.0 [INFO] [stderr] Downloaded clap_builder v4.4.6 [INFO] [stderr] Downloaded winnow v0.6.20 [INFO] [stderr] Downloaded git2 v0.19.0 [INFO] [stderr] Downloaded regex v1.11.0 [INFO] [stderr] Downloaded idna v0.4.0 [INFO] [stderr] Downloaded syn v2.0.79 [INFO] [stderr] Downloaded aho-corasick v1.1.1 [INFO] [stderr] Downloaded clap v4.4.6 [INFO] [stderr] Downloaded rustix v0.38.15 [INFO] [stderr] Downloaded bitflags v2.4.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.13 [INFO] [stderr] Downloaded clap_lex v0.5.1 [INFO] [stderr] Downloaded pkg-config v0.3.27 [INFO] [stderr] Downloaded form_urlencoded v1.2.0 [INFO] [stderr] Downloaded percent-encoding v2.3.0 [INFO] [stderr] Downloaded termcolor v1.3.0 [INFO] [stderr] Downloaded proc-macro-crate v3.2.0 [INFO] [stderr] Downloaded regex-automata v0.4.8 [INFO] [stderr] Downloaded errno v0.3.4 [INFO] [stderr] Downloaded libc v0.2.148 [INFO] [stderr] Downloaded linux-raw-sys v0.4.8 [INFO] [stderr] Downloaded libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Downloaded libz-sys v1.1.12 [INFO] [stderr] Downloaded rstest_macros v0.23.0 [INFO] [stderr] Downloaded anyhow v1.0.90 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 110761079ebfa0695f8053cbd8fe043a54658dca062e3a0764fe8b34d4c24668 [INFO] running `Command { std: "docker" "start" "-a" "110761079ebfa0695f8053cbd8fe043a54658dca062e3a0764fe8b34d4c24668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "110761079ebfa0695f8053cbd8fe043a54658dca062e3a0764fe8b34d4c24668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110761079ebfa0695f8053cbd8fe043a54658dca062e3a0764fe8b34d4c24668", kill_on_drop: false }` [INFO] [stdout] 110761079ebfa0695f8053cbd8fe043a54658dca062e3a0764fe8b34d4c24668 [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" "-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a9e921e08e936291ecc107b352dded47c67b7107c81b8d3960f34f0c4af6db2 [INFO] running `Command { std: "docker" "start" "-a" "4a9e921e08e936291ecc107b352dded47c67b7107c81b8d3960f34f0c4af6db2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling rustix v0.38.15 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.90 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling is_affected v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commits/mod.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_revwalker(repository: &Repository, from_commit_hash: Oid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 70 | fn get_revwalker(repository: &Repository, from_commit_hash: Oid) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "4a9e921e08e936291ecc107b352dded47c67b7107c81b8d3960f34f0c4af6db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9e921e08e936291ecc107b352dded47c67b7107c81b8d3960f34f0c4af6db2", kill_on_drop: false }` [INFO] [stdout] 4a9e921e08e936291ecc107b352dded47c67b7107c81b8d3960f34f0c4af6db2 [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" "-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7e2f8215bcd1694a9be02eff82b9b5728626642dfc07ac8953c71b702e69086 [INFO] running `Command { std: "docker" "start" "-a" "a7e2f8215bcd1694a9be02eff82b9b5728626642dfc07ac8953c71b702e69086", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling semver v1.0.19 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.23.0 [INFO] [stderr] Compiling is_affected v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commits/mod.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_revwalker(repository: &Repository, from_commit_hash: Oid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden 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] 70 | fn get_revwalker(repository: &Repository, from_commit_hash: Oid) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 39.62s [INFO] running `Command { std: "docker" "inspect" "a7e2f8215bcd1694a9be02eff82b9b5728626642dfc07ac8953c71b702e69086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e2f8215bcd1694a9be02eff82b9b5728626642dfc07ac8953c71b702e69086", kill_on_drop: false }` [INFO] [stdout] a7e2f8215bcd1694a9be02eff82b9b5728626642dfc07ac8953c71b702e69086 [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" "-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 824e8e4b762480f775ca0c375ce2b5749367e5518b665b45e764e16837698440 [INFO] running `Command { std: "docker" "start" "-a" "824e8e4b762480f775ca0c375ce2b5749367e5518b665b45e764e16837698440", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/commits/mod.rs:70:34 [INFO] [stderr] | [INFO] [stderr] 70 | fn get_revwalker(repository: &Repository, from_commit_hash: Oid) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | fn get_revwalker(repository: &Repository, from_commit_hash: Oid) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `is_affected` (bin "is_affected" test) generated 1 warning (run `cargo fix --bin "is_affected" -p is_affected --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/is_affected-83124fe14bda8fd5) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test commits::commit::tests::test_get_affected_resources_is_sorted ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_04 ... ok [INFO] [stdout] test commits::commit::tests::test_get_affected_resources_is_unique ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_01 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_07 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_10 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_09 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_05 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_06 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_11 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_2 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_08 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_12 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_5 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_3 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_02 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_7 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_4 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_6 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_8 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_03 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "824e8e4b762480f775ca0c375ce2b5749367e5518b665b45e764e16837698440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "824e8e4b762480f775ca0c375ce2b5749367e5518b665b45e764e16837698440", kill_on_drop: false }` [INFO] [stdout] 824e8e4b762480f775ca0c375ce2b5749367e5518b665b45e764e16837698440