[INFO] fetching crate luaudoc 1.0.9... [INFO] checking luaudoc-1.0.9 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate luaudoc 1.0.9 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate luaudoc 1.0.9 [INFO] finished tweaking crates.io crate luaudoc 1.0.9 [INFO] tweaked toml for crates.io crate luaudoc 1.0.9 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate luaudoc 1.0.9 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 luaudoc 1.0.9 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 76f5586113b698d432d422a2926c5c509f30f6aee8d5bc117431d9e94826b74b [INFO] running `Command { std: "docker" "start" "-a" "76f5586113b698d432d422a2926c5c509f30f6aee8d5bc117431d9e94826b74b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76f5586113b698d432d422a2926c5c509f30f6aee8d5bc117431d9e94826b74b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f5586113b698d432d422a2926c5c509f30f6aee8d5bc117431d9e94826b74b", kill_on_drop: false }` [INFO] [stdout] 76f5586113b698d432d422a2926c5c509f30f6aee8d5bc117431d9e94826b74b [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] 81ada931a3d695301c3f801b1449ec9f2738f587827ed0b6772223dcf0124f1f [INFO] running `Command { std: "docker" "start" "-a" "81ada931a3d695301c3f801b1449ec9f2738f587827ed0b6772223dcf0124f1f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling full_moon_derive v0.11.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking smol_str v0.1.24 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking full_moon v0.18.1 [INFO] [stderr] Checking luaudoc v1.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `file_id` is never read [INFO] [stdout] --> src/source_file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SourceFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | doc_comments: Vec, [INFO] [stdout] 13 | file_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub input_path: 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.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// The base path that source paths in the output will be relative to. [INFO] [stdout] 23 | | /// If unspecified, the input path is used. [INFO] [stdout] 24 | | #[structopt(long = "base", short = "b")] [INFO] [stdout] 25 | | pub base_path: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/source_file.rs:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn parse(&'a self) -> Result, Error> { [INFO] [stdout] | -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 178 | pub fn parse(&'a self) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_id` is never read [INFO] [stdout] --> src/source_file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SourceFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | doc_comments: Vec, [INFO] [stdout] 13 | file_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luaudoc` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub input_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [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.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// The base path that source paths in the output will be relative to. [INFO] [stdout] 23 | | /// If unspecified, the input path is used. [INFO] [stdout] 24 | | #[structopt(long = "base", short = "b")] [INFO] [stdout] 25 | | pub base_path: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luaudoc` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/source_file.rs:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn parse(&'a self) -> Result, Error> { [INFO] [stdout] | -- ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 178 | pub fn parse(&'a self) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "81ada931a3d695301c3f801b1449ec9f2738f587827ed0b6772223dcf0124f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81ada931a3d695301c3f801b1449ec9f2738f587827ed0b6772223dcf0124f1f", kill_on_drop: false }` [INFO] [stdout] 81ada931a3d695301c3f801b1449ec9f2738f587827ed0b6772223dcf0124f1f