[INFO] cloning repository https://github.com/phodal/rmd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phodal/rmd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphodal%2Frmd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphodal%2Frmd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 016ad046dcd29c3088d260e743c63bbf489a40d6 [INFO] checking phodal/rmd against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphodal%2Frmd" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phodal/rmd [INFO] finished tweaking git repo https://github.com/phodal/rmd [INFO] tweaked toml for git repo https://github.com/phodal/rmd written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phodal/rmd 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 git repo https://github.com/phodal/rmd 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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3486102f90e084b203fa788275ec854305e7daebeff47b5fd989d9069058c1da [INFO] running `Command { std: "docker" "start" "-a" "3486102f90e084b203fa788275ec854305e7daebeff47b5fd989d9069058c1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3486102f90e084b203fa788275ec854305e7daebeff47b5fd989d9069058c1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3486102f90e084b203fa788275ec854305e7daebeff47b5fd989d9069058c1da", kill_on_drop: false }` [INFO] [stdout] 3486102f90e084b203fa788275ec854305e7daebeff47b5fd989d9069058c1da [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 -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] cff3b2419fd949c653d26a09572ee740939b701cb07f2f852b53a8fbe6fff58d [INFO] running `Command { std: "docker" "start" "-a" "cff3b2419fd949c653d26a09572ee740939b701cb07f2f852b53a8fbe6fff58d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling pulldown-cmark v0.7.1 [INFO] [stderr] Checking os_str_bytes v2.3.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking exemd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `cmd_level`, `name`, `desc`, `subcommands`, and `required_args` are never read [INFO] [stdout] --> src/rmd/command.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Command { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | pub cmd_level: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub desc: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub script: Script, [INFO] [stdout] 7 | pub subcommands: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub required_args: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Clone` and `Debug`, but these are 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] warning: fields `name` and `val` are never read [INFO] [stdout] --> src/rmd/command.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RequiredArg { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 68 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | pub val: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequiredArg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/rmd/command.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct OptionFlag { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 84 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | pub desc: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | pub short: String, // v (used as -v) [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | pub long: String, // verbose (used as --verbose) [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | pub multiple: bool, // Can it have multiple values? (-vvv OR -i one -i two) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | pub takes_value: bool, // Does it take a value? (-i value) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | pub validate_as_number: bool, // Should we validate it as a number? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | pub val: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionFlag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `artifact_id` and `group_id` are never read [INFO] [stdout] --> src/rmd/lang/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Dependency { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub artifact_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | pub group_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_run` is never used [INFO] [stdout] --> src/rmd/lang/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait LangExecutor { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 81 | fn try_run(&self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / #[allow(dead_code)] [INFO] [stdout] 13 | | config: String, [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/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rmd/parser.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | fn create_markdown_parser(content: &str) -> Parser { [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] 56 | fn create_markdown_parser(content: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exemd` (bin "exemd") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `cmd_level`, `name`, `desc`, `subcommands`, and `required_args` are never read [INFO] [stdout] --> src/rmd/command.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Command { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | pub cmd_level: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub desc: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub script: Script, [INFO] [stdout] 7 | pub subcommands: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub required_args: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Clone` and `Debug`, but these are 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] warning: fields `name` and `val` are never read [INFO] [stdout] --> src/rmd/command.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RequiredArg { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 68 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | pub val: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequiredArg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/rmd/command.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct OptionFlag { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 84 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | pub desc: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | pub short: String, // v (used as -v) [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | pub long: String, // verbose (used as --verbose) [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | pub multiple: bool, // Can it have multiple values? (-vvv OR -i one -i two) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | pub takes_value: bool, // Does it take a value? (-i value) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 90 | pub validate_as_number: bool, // Should we validate it as a number? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | pub val: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionFlag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `artifact_id` and `group_id` are never read [INFO] [stdout] --> src/rmd/lang/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Dependency { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub artifact_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | pub group_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dependency` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_run` is never used [INFO] [stdout] --> src/rmd/lang/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait LangExecutor { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 81 | fn try_run(&self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / #[allow(dead_code)] [INFO] [stdout] 13 | | config: String, [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/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rmd/parser.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | fn create_markdown_parser(content: &str) -> Parser { [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] 56 | fn create_markdown_parser(content: &str) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exemd` (bin "exemd" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cff3b2419fd949c653d26a09572ee740939b701cb07f2f852b53a8fbe6fff58d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff3b2419fd949c653d26a09572ee740939b701cb07f2f852b53a8fbe6fff58d", kill_on_drop: false }` [INFO] [stdout] cff3b2419fd949c653d26a09572ee740939b701cb07f2f852b53a8fbe6fff58d