[INFO] fetching crate is_effected 0.4.1... [INFO] checking is_effected-0.4.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate is_effected 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate is_effected 0.4.1 [INFO] finished tweaking crates.io crate is_effected 0.4.1 [INFO] tweaked toml for crates.io crate is_effected 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate is_effected 0.4.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate is_effected 0.4.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d0afffdc82d336e147b827cba2e7d1a8f9c2c812467dc4568d81905c6e29322 [INFO] running `Command { std: "docker" "start" "-a" "2d0afffdc82d336e147b827cba2e7d1a8f9c2c812467dc4568d81905c6e29322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d0afffdc82d336e147b827cba2e7d1a8f9c2c812467dc4568d81905c6e29322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d0afffdc82d336e147b827cba2e7d1a8f9c2c812467dc4568d81905c6e29322", kill_on_drop: false }` [INFO] [stdout] 2d0afffdc82d336e147b827cba2e7d1a8f9c2c812467dc4568d81905c6e29322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 683faff5416daeebd783f6c1a5e9a58dd9321077ba45a5584e2a8d074808cce4 [INFO] running `Command { std: "docker" "start" "-a" "683faff5416daeebd783f6c1a5e9a58dd9321077ba45a5584e2a8d074808cce4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling rstest v0.11.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libgit2-sys v0.12.23+1.2.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking git2 v0.13.22 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking is_effected v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / #[structopt( [INFO] [stdout] 12 | | long, [INFO] [stdout] 13 | | group = "from", [INFO] [stdout] 14 | | help = "The Git commit hash from where to start taking the range of commits from till HEAD. The range is inclusive of HEAD and ex... [INFO] [stdout] 15 | | )] [INFO] [stdout] 16 | | pub from_commit_hash: Option, [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / #[structopt( [INFO] [stdout] 19 | | long, [INFO] [stdout] 20 | | group = "from", [INFO] [stdout] 21 | | help = "The Git reference from where to start taking the range of commits from till HEAD. The range is inclusive of HEAD and excl... [INFO] [stdout] 22 | | )] [INFO] [stdout] 23 | | pub from_reference: Option, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / #[structopt( [INFO] [stdout] 26 | | long, [INFO] [stdout] 27 | | group = "output", [INFO] [stdout] 28 | | help = "Check if any of the effected resources within the range of the commits match any of these regexes. If any match then exit... [INFO] [stdout] 29 | | )] [INFO] [stdout] 30 | | pub effects: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/commits/mod.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_commit_revwalker(repository: &Repository, from_commit_hash: Oid) -> Revwalk { [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] 12 | fn get_commit_revwalker(repository: &Repository, from_commit_hash: Oid) -> Revwalk<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `is_effected` (bin "is_effected") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / #[structopt( [INFO] [stdout] 12 | | long, [INFO] [stdout] 13 | | group = "from", [INFO] [stdout] 14 | | help = "The Git commit hash from where to start taking the range of commits from till HEAD. The range is inclusive of HEAD and ex... [INFO] [stdout] 15 | | )] [INFO] [stdout] 16 | | pub from_commit_hash: Option, [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / #[structopt( [INFO] [stdout] 19 | | long, [INFO] [stdout] 20 | | group = "from", [INFO] [stdout] 21 | | help = "The Git reference from where to start taking the range of commits from till HEAD. The range is inclusive of HEAD and excl... [INFO] [stdout] 22 | | )] [INFO] [stdout] 23 | | pub from_reference: Option, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / #[structopt( [INFO] [stdout] 26 | | long, [INFO] [stdout] 27 | | group = "output", [INFO] [stdout] 28 | | help = "Check if any of the effected resources within the range of the commits match any of these regexes. If any match then exit... [INFO] [stdout] 29 | | )] [INFO] [stdout] 30 | | pub effects: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/model/commits/mod.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_commit_revwalker(repository: &Repository, from_commit_hash: Oid) -> Revwalk { [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] 12 | fn get_commit_revwalker(repository: &Repository, from_commit_hash: Oid) -> Revwalk<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `is_effected` (bin "is_effected" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "683faff5416daeebd783f6c1a5e9a58dd9321077ba45a5584e2a8d074808cce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "683faff5416daeebd783f6c1a5e9a58dd9321077ba45a5584e2a8d074808cce4", kill_on_drop: false }` [INFO] [stdout] 683faff5416daeebd783f6c1a5e9a58dd9321077ba45a5584e2a8d074808cce4