[INFO] cloning repository https://github.com/mrkline/modman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrkline/modman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrkline%2Fmodman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrkline%2Fmodman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28fc57e0d18689b3eb4b0fbebeea86a39ecb31fb [INFO] checking mrkline/modman 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%2Fmrkline%2Fmodman" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mrkline/modman [INFO] finished tweaking git repo https://github.com/mrkline/modman [INFO] tweaked toml for git repo https://github.com/mrkline/modman written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mrkline/modman 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/mrkline/modman 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 82b63d240a94d3fb27daa0446b42348f112b0ae5f2ca00f8f24b3014e4394351 [INFO] running `Command { std: "docker" "start" "-a" "82b63d240a94d3fb27daa0446b42348f112b0ae5f2ca00f8f24b3014e4394351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82b63d240a94d3fb27daa0446b42348f112b0ae5f2ca00f8f24b3014e4394351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82b63d240a94d3fb27daa0446b42348f112b0ae5f2ca00f8f24b3014e4394351", kill_on_drop: false }` [INFO] [stdout] 82b63d240a94d3fb27daa0446b42348f112b0ae5f2ca00f8f24b3014e4394351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 50608e61dc257ed41689007af7bee179aa431382c3f5300ae54cb3a5a279f32d [INFO] running `Command { std: "docker" "start" "-a" "50608e61dc257ed41689007af7bee179aa431382c3f5300ae54cb3a5a279f32d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking num-traits v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Compiling codepage-437 v0.1.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking structopt v0.3.17 [INFO] [stderr] Checking piz v0.3.0 [INFO] [stderr] Checking modman v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Meta` is never constructed [INFO] [stdout] --> src/profile.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Meta { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProfileFileData` is never constructed [INFO] [stdout] --> src/profile.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct ProfileFileData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Do everything with as the working directory. [INFO] [stdout] 32 | | #[structopt(short = "C", long, name = "DIR")] [INFO] [stdout] 33 | | directory: 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: std::result::Result [INFO] [stdout] --> src/add.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / #[structopt(name = "MOD", required(true))] [INFO] [stdout] 33 | | mod_names: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/init.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// The root directory where mod files will be installed [INFO] [stdout] 16 | | #[structopt(long)] [INFO] [stdout] 17 | | root: PathBuf, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/remove.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / #[structopt(name = "MOD", required(true))] [INFO] [stdout] 23 | | mod_names: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zip_mod.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | fn zip_archive(&self) -> &piz::ZipArchive { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 121 | fn zip_archive(&self) -> &piz::ZipArchive<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `modman` (bin "modman") due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Meta` is never constructed [INFO] [stdout] --> src/profile.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Meta { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProfileFileData` is never constructed [INFO] [stdout] --> src/profile.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct ProfileFileData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Do everything with as the working directory. [INFO] [stdout] 32 | | #[structopt(short = "C", long, name = "DIR")] [INFO] [stdout] 33 | | directory: 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: std::result::Result [INFO] [stdout] --> src/add.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / #[structopt(name = "MOD", required(true))] [INFO] [stdout] 33 | | mod_names: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/init.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// The root directory where mod files will be installed [INFO] [stdout] 16 | | #[structopt(long)] [INFO] [stdout] 17 | | root: PathBuf, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/remove.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / #[structopt(name = "MOD", required(true))] [INFO] [stdout] 23 | | mod_names: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/zip_mod.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | fn zip_archive(&self) -> &piz::ZipArchive { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 121 | fn zip_archive(&self) -> &piz::ZipArchive<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `modman` (bin "modman" test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "50608e61dc257ed41689007af7bee179aa431382c3f5300ae54cb3a5a279f32d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50608e61dc257ed41689007af7bee179aa431382c3f5300ae54cb3a5a279f32d", kill_on_drop: false }` [INFO] [stdout] 50608e61dc257ed41689007af7bee179aa431382c3f5300ae54cb3a5a279f32d