[INFO] fetching crate is_affected 0.5.0... [INFO] testing is_affected-0.5.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate is_affected 0.5.0 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate is_affected 0.5.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4906421a96c92c930164c46a6f4eb1655e5f002d3e7c3e26bf8f088f5d1f19c0 [INFO] running `Command { std: "docker" "start" "-a" "4906421a96c92c930164c46a6f4eb1655e5f002d3e7c3e26bf8f088f5d1f19c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4906421a96c92c930164c46a6f4eb1655e5f002d3e7c3e26bf8f088f5d1f19c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4906421a96c92c930164c46a6f4eb1655e5f002d3e7c3e26bf8f088f5d1f19c0", kill_on_drop: false }` [INFO] [stdout] 4906421a96c92c930164c46a6f4eb1655e5f002d3e7c3e26bf8f088f5d1f19c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fc03482445376d827373f8b437ae7230bc4ecd0be5fc7a2ef4fc8872c9e6691 [INFO] running `Command { std: "docker" "start" "-a" "8fc03482445376d827373f8b437ae7230bc4ecd0be5fc7a2ef4fc8872c9e6691", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling rustix v0.38.15 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.90 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling idna v0.4.0 [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 clap v4.4.6 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [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 29.17s [INFO] running `Command { std: "docker" "inspect" "8fc03482445376d827373f8b437ae7230bc4ecd0be5fc7a2ef4fc8872c9e6691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fc03482445376d827373f8b437ae7230bc4ecd0be5fc7a2ef4fc8872c9e6691", kill_on_drop: false }` [INFO] [stdout] 8fc03482445376d827373f8b437ae7230bc4ecd0be5fc7a2ef4fc8872c9e6691 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 987cd84d9ffe79d05150c0dd1b7c32d6cd87bf7b4e80e1e3d9f9446b39b47872 [INFO] running `Command { std: "docker" "start" "-a" "987cd84d9ffe79d05150c0dd1b7c32d6cd87bf7b4e80e1e3d9f9446b39b47872", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling semver v1.0.19 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling syn v2.0.79 [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 futures-channel v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling indexmap v2.6.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 futures-macro v0.3.31 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [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 22.37s [INFO] running `Command { std: "docker" "inspect" "987cd84d9ffe79d05150c0dd1b7c32d6cd87bf7b4e80e1e3d9f9446b39b47872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "987cd84d9ffe79d05150c0dd1b7c32d6cd87bf7b4e80e1e3d9f9446b39b47872", kill_on_drop: false }` [INFO] [stdout] 987cd84d9ffe79d05150c0dd1b7c32d6cd87bf7b4e80e1e3d9f9446b39b47872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 38bea40bcd652c17c1fbdb8298b7dccd2c19a35dda51b4c70c90d04a134ebbb8 [INFO] running `Command { std: "docker" "start" "-a" "38bea40bcd652c17c1fbdb8298b7dccd2c19a35dda51b4c70c90d04a134ebbb8", 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.12s [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_08 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_09 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_10 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_07 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_06 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_03 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_11 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_01 ... ok [INFO] [stdout] test commits::commit::tests::test_is_affected::case_04 ... 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_affected::case_05 ... 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_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_not_affected::case_3 ... 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.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "38bea40bcd652c17c1fbdb8298b7dccd2c19a35dda51b4c70c90d04a134ebbb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38bea40bcd652c17c1fbdb8298b7dccd2c19a35dda51b4c70c90d04a134ebbb8", kill_on_drop: false }` [INFO] [stdout] 38bea40bcd652c17c1fbdb8298b7dccd2c19a35dda51b4c70c90d04a134ebbb8