[INFO] fetching crate is_affected 0.5.0... [INFO] testing is_affected-0.5.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate is_affected 0.5.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate is_affected 0.5.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest_macros v0.23.0 [INFO] [stderr] Downloaded semver v1.0.19 [INFO] [stderr] Downloaded rstest v0.23.0 [INFO] [stderr] Downloaded aho-corasick v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 012c1d101f746295188f072301ab3d7342a4787d860e9957b45cb0306e1f28ce [INFO] running `Command { std: "docker" "start" "-a" "012c1d101f746295188f072301ab3d7342a4787d860e9957b45cb0306e1f28ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "012c1d101f746295188f072301ab3d7342a4787d860e9957b45cb0306e1f28ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "012c1d101f746295188f072301ab3d7342a4787d860e9957b45cb0306e1f28ce", kill_on_drop: false }` [INFO] [stdout] 012c1d101f746295188f072301ab3d7342a4787d860e9957b45cb0306e1f28ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7266b008b65ef23f7642283f6e4ed48d87d8efbcc31a98f47d122538eef49b26 [INFO] running `Command { std: "docker" "start" "-a" "7266b008b65ef23f7642283f6e4ed48d87d8efbcc31a98f47d122538eef49b26", 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 memchr v2.6.4 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling rustix v0.38.15 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.90 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [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 11s [INFO] running `Command { std: "docker" "inspect" "7266b008b65ef23f7642283f6e4ed48d87d8efbcc31a98f47d122538eef49b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7266b008b65ef23f7642283f6e4ed48d87d8efbcc31a98f47d122538eef49b26", kill_on_drop: false }` [INFO] [stdout] 7266b008b65ef23f7642283f6e4ed48d87d8efbcc31a98f47d122538eef49b26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91fac46777860452a7f48d6a06a7331d9984f690cb30070ca3c7121f9c46b0db [INFO] running `Command { std: "docker" "start" "-a" "91fac46777860452a7f48d6a06a7331d9984f690cb30070ca3c7121f9c46b0db", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling semver v1.0.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling indexmap v2.6.0 [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 42.07s [INFO] running `Command { std: "docker" "inspect" "91fac46777860452a7f48d6a06a7331d9984f690cb30070ca3c7121f9c46b0db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91fac46777860452a7f48d6a06a7331d9984f690cb30070ca3c7121f9c46b0db", kill_on_drop: false }` [INFO] [stdout] 91fac46777860452a7f48d6a06a7331d9984f690cb30070ca3c7121f9c46b0db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ecc24cb04ac08816c93678e34ccbcf34db3ae648becbbf37c16f4386c4ba8ef [INFO] running `Command { std: "docker" "start" "-a" "6ecc24cb04ac08816c93678e34ccbcf34db3ae648becbbf37c16f4386c4ba8ef", 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" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [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_get_affected_resources_is_unique ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_02 ... 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_08 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_09 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_11 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_12 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_03 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_04 ... 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_7 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_2 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_8 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_1 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_5 ... 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_not_affected::case_3 ... ok [INFO] [stdout] test commits::commit::tests::test_is_not_affected::case_4 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6ecc24cb04ac08816c93678e34ccbcf34db3ae648becbbf37c16f4386c4ba8ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ecc24cb04ac08816c93678e34ccbcf34db3ae648becbbf37c16f4386c4ba8ef", kill_on_drop: false }` [INFO] [stdout] 6ecc24cb04ac08816c93678e34ccbcf34db3ae648becbbf37c16f4386c4ba8ef