[INFO] fetching crate markdown_splitter 0.1.1... [INFO] checking markdown_splitter-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate markdown_splitter 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate markdown_splitter 0.1.1 [INFO] finished tweaking crates.io crate markdown_splitter 0.1.1 [INFO] tweaked toml for crates.io crate markdown_splitter 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate markdown_splitter 0.1.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 markdown_splitter 0.1.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d294f9cdef40faa7b5efc5f6636d1fbd8db63cfd5211e270407abf6a387ac39b [INFO] running `Command { std: "docker" "start" "-a" "d294f9cdef40faa7b5efc5f6636d1fbd8db63cfd5211e270407abf6a387ac39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d294f9cdef40faa7b5efc5f6636d1fbd8db63cfd5211e270407abf6a387ac39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d294f9cdef40faa7b5efc5f6636d1fbd8db63cfd5211e270407abf6a387ac39b", kill_on_drop: false }` [INFO] [stdout] d294f9cdef40faa7b5efc5f6636d1fbd8db63cfd5211e270407abf6a387ac39b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 358c3ef13209ee893f7a8f48eec06474b0cf492214a7382bc7be75d31d9b2734 [INFO] running `Command { std: "docker" "start" "-a" "358c3ef13209ee893f7a8f48eec06474b0cf492214a7382bc7be75d31d9b2734", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Checking structopt v0.3.12 [INFO] [stderr] Checking markdown_splitter v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | let filename_copy = filename.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 12 - let filename_copy = filename.as_ref().clone(); [INFO] [stdout] 12 + let filename_copy = filename.as_ref(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | let filename_copy = filename.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 12 - let filename_copy = filename.as_ref().clone(); [INFO] [stdout] 12 + let filename_copy = filename.as_ref(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Output filename (default: `export.md`) [INFO] [stdout] 11 | | #[structopt(short = "o", long = "output", default_value = "export.md")] [INFO] [stdout] 12 | | output: std::path::PathBuf, [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `markdown_splitter` (bin "mds" test) due to 1 previous error [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/bin.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / /// Output filename (default: `export.md`) [INFO] [stdout] 11 | | #[structopt(short = "o", long = "output", default_value = "export.md")] [INFO] [stdout] 12 | | output: std::path::PathBuf, [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `markdown_splitter` (bin "mds") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "358c3ef13209ee893f7a8f48eec06474b0cf492214a7382bc7be75d31d9b2734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358c3ef13209ee893f7a8f48eec06474b0cf492214a7382bc7be75d31d9b2734", kill_on_drop: false }` [INFO] [stdout] 358c3ef13209ee893f7a8f48eec06474b0cf492214a7382bc7be75d31d9b2734