[INFO] cloning repository https://github.com/jon-keatley-folio/stubborn-copy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jon-keatley-folio/stubborn-copy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-keatley-folio%2Fstubborn-copy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-keatley-folio%2Fstubborn-copy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdbefb5585d73734d4371b0fe55e6c26d4b11733 [INFO] checking jon-keatley-folio/stubborn-copy 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%2Fjon-keatley-folio%2Fstubborn-copy" "/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/jon-keatley-folio/stubborn-copy [INFO] finished tweaking git repo https://github.com/jon-keatley-folio/stubborn-copy [INFO] tweaked toml for git repo https://github.com/jon-keatley-folio/stubborn-copy written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jon-keatley-folio/stubborn-copy 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/jon-keatley-folio/stubborn-copy 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] 1ac0654b228db5ce91d2f00bf11f1a9073ebcd09186709e597277c8d59ebcc92 [INFO] running `Command { std: "docker" "start" "-a" "1ac0654b228db5ce91d2f00bf11f1a9073ebcd09186709e597277c8d59ebcc92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ac0654b228db5ce91d2f00bf11f1a9073ebcd09186709e597277c8d59ebcc92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac0654b228db5ce91d2f00bf11f1a9073ebcd09186709e597277c8d59ebcc92", kill_on_drop: false }` [INFO] [stdout] 1ac0654b228db5ce91d2f00bf11f1a9073ebcd09186709e597277c8d59ebcc92 [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] 962a97a9959ed969ba18eac7c5e420dbe57a2ae4981af5688409608309b4cc19 [INFO] running `Command { std: "docker" "start" "-a" "962a97a9959ed969ba18eac7c5e420dbe57a2ae4981af5688409608309b4cc19", kill_on_drop: false }` [INFO] [stderr] Checking stubborn-copy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let has_src = PathBuf::from_str(&args[0]); [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:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | let has_dst = PathBuf::from_str(&args[1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | if let Ok(src) = has_src [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | if let Ok(dst) = has_dst [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stubborn-copy` (bin "stubborn-copy") due to 4 previous errors [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/main.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let has_src = PathBuf::from_str(&args[0]); [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:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | let has_dst = PathBuf::from_str(&args[1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | if let Ok(src) = has_src [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | if let Ok(dst) = has_dst [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:231:29 [INFO] [stdout] | [INFO] [stdout] 231 | assert_eq!(test[0], OsString::from_str("another").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:236:29 [INFO] [stdout] | [INFO] [stdout] 236 | assert_eq!(test[0], OsString::from_str("another").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 237 | assert_eq!(test[5], OsString::from_str("good").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stubborn-copy` (bin "stubborn-copy" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "962a97a9959ed969ba18eac7c5e420dbe57a2ae4981af5688409608309b4cc19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "962a97a9959ed969ba18eac7c5e420dbe57a2ae4981af5688409608309b4cc19", kill_on_drop: false }` [INFO] [stdout] 962a97a9959ed969ba18eac7c5e420dbe57a2ae4981af5688409608309b4cc19