[INFO] cloning repository https://github.com/ahcodedthat/sitemap-from-files [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ahcodedthat/sitemap-from-files" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahcodedthat%2Fsitemap-from-files", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahcodedthat%2Fsitemap-from-files'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ddcc5799286cc4c15f68c3573dfedef19abd5a6 [INFO] checking ahcodedthat/sitemap-from-files 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%2Fahcodedthat%2Fsitemap-from-files" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ahcodedthat/sitemap-from-files [INFO] finished tweaking git repo https://github.com/ahcodedthat/sitemap-from-files [INFO] tweaked toml for git repo https://github.com/ahcodedthat/sitemap-from-files written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ahcodedthat/sitemap-from-files 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/ahcodedthat/sitemap-from-files 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] dcaf0d8b4840e503a77599e29ddd2b2d025bd34289ee54e468742d3d277d359b [INFO] running `Command { std: "docker" "start" "-a" "dcaf0d8b4840e503a77599e29ddd2b2d025bd34289ee54e468742d3d277d359b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcaf0d8b4840e503a77599e29ddd2b2d025bd34289ee54e468742d3d277d359b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcaf0d8b4840e503a77599e29ddd2b2d025bd34289ee54e468742d3d277d359b", kill_on_drop: false }` [INFO] [stdout] dcaf0d8b4840e503a77599e29ddd2b2d025bd34289ee54e468742d3d277d359b [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] b01651c4710c2eafbf845894c3ca8c8e548e8a52d466b6f35930f4c948c3efef [INFO] running `Command { std: "docker" "start" "-a" "b01651c4710c2eafbf845894c3ca8c8e548e8a52d466b6f35930f4c948c3efef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking concolor-query v0.0.5 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking dunce v1.0.2 [INFO] [stderr] Checking snapbox-macros v0.2.1 [INFO] [stderr] Checking similar v2.1.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.16 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking concolor v0.0.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking snapbox v0.2.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking chrono_utils v0.1.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clap v3.1.11 [INFO] [stderr] Checking string_cache v0.8.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking texting_robots v0.2.1 [INFO] [stderr] Checking sitemap v0.4.1 [INFO] [stderr] Checking sitemap-from-files v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `cfg_path` is never read [INFO] [stdout] --> src/scan.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Scan<'c, W: Write> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub cfg_path: &'c Path, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [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, Infallible> [INFO] [stdout] --> src/cmd.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Write sitemap to the given file (`-` means standard output), ignoring the configuration file's `sitemap_path`. [INFO] [stdout] 11 | | #[clap(short, long)] [INFO] [stdout] 12 | | pub output: 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/cmd.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | / /// Path to the configuration file. [INFO] [stdout] 19 | | pub config_file: PathBuf, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 48 | | if s == "-" { [INFO] [stdout] 49 | | Ok(Self::Stdout) [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | / if s == "-" { [INFO] [stdout] 49 | | Ok(Self::Stdout) [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | else { [INFO] [stdout] 52 | | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | if s == "-" { [INFO] [stdout] | _____________________^ [INFO] [stdout] 49 | | Ok(Self::Stdout) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Self::Stdout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | else { [INFO] [stdout] | ______________^ [INFO] [stdout] 52 | | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/cmd.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmd.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sitemap-from-files` (bin "sitemap-from-files") due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `cfg_path` is never read [INFO] [stdout] --> src/scan.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Scan<'c, W: Write> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub cfg_path: &'c Path, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [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, Infallible> [INFO] [stdout] --> src/cmd.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Write sitemap to the given file (`-` means standard output), ignoring the configuration file's `sitemap_path`. [INFO] [stdout] 11 | | #[clap(short, long)] [INFO] [stdout] 12 | | pub output: 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/cmd.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | / /// Path to the configuration file. [INFO] [stdout] 19 | | pub config_file: PathBuf, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 48 | | if s == "-" { [INFO] [stdout] 49 | | Ok(Self::Stdout) [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | / if s == "-" { [INFO] [stdout] 49 | | Ok(Self::Stdout) [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | else { [INFO] [stdout] 52 | | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | if s == "-" { [INFO] [stdout] | _____________________^ [INFO] [stdout] 49 | | Ok(Self::Stdout) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Self::Stdout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | else { [INFO] [stdout] | ______________^ [INFO] [stdout] 52 | | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/cmd.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cmd.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/cmd.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(Self::File(Cow::Owned(PathBuf::from_str(s)?))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sitemap-from-files` (bin "sitemap-from-files" test) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b01651c4710c2eafbf845894c3ca8c8e548e8a52d466b6f35930f4c948c3efef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b01651c4710c2eafbf845894c3ca8c8e548e8a52d466b6f35930f4c948c3efef", kill_on_drop: false }` [INFO] [stdout] b01651c4710c2eafbf845894c3ca8c8e548e8a52d466b6f35930f4c948c3efef