[INFO] cloning repository https://github.com/kellpossible/photo-captioner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kellpossible/photo-captioner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkellpossible%2Fphoto-captioner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkellpossible%2Fphoto-captioner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c3cb5cb79c44b84e36e44ef708af309e798bc32 [INFO] checking kellpossible/photo-captioner 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%2Fkellpossible%2Fphoto-captioner" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kellpossible/photo-captioner [INFO] finished tweaking git repo https://github.com/kellpossible/photo-captioner [INFO] tweaked toml for git repo https://github.com/kellpossible/photo-captioner written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kellpossible/photo-captioner 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/kellpossible/photo-captioner 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 11ea73214775fdfcd9db5dae9b8d70d703e26207c3719c48864cc7cbcd3931c0 [INFO] running `Command { std: "docker" "start" "-a" "11ea73214775fdfcd9db5dae9b8d70d703e26207c3719c48864cc7cbcd3931c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11ea73214775fdfcd9db5dae9b8d70d703e26207c3719c48864cc7cbcd3931c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ea73214775fdfcd9db5dae9b8d70d703e26207c3719c48864cc7cbcd3931c0", kill_on_drop: false }` [INFO] [stdout] 11ea73214775fdfcd9db5dae9b8d70d703e26207c3719c48864cc7cbcd3931c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4e66204943d02acb3c3829a7dbd87c3b1482d8b891c43519cee19e30ccc4f6a7 [INFO] running `Command { std: "docker" "start" "-a" "4e66204943d02acb3c3829a7dbd87c3b1482d8b891c43519cee19e30ccc4f6a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking array-macro v1.0.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking ahash v0.6.3 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking quote v1.0.2 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Compiling structopt-derive v0.3.4 [INFO] [stderr] Checking enum-map v0.6.1 [INFO] [stderr] Checking structopt v0.3.4 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling wasmer_enumset_derive v0.5.0 [INFO] [stderr] Checking wasmer_enumset v1.0.1 [INFO] [stderr] Checking cursive_core v0.2.2 [INFO] [stderr] Checking cursive v0.16.3 [INFO] [stderr] Checking photo-captioner v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / /// The type of output, available options: "csv" [INFO] [stdout] 40 | | #[structopt(short = "t", long = "output-type", default_value = "csv")] [INFO] [stdout] 41 | | output_type: 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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / /// The name of the output file (if there is one). [INFO] [stdout] 44 | | /// Will be "captions.csv" by default for the "csv" output-type. [INFO] [stdout] 45 | | #[structopt(short = "n", long = "output-name")] [INFO] [stdout] 46 | | output_name: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / /// The command used to launch an image viewer [INFO] [stdout] 53 | | /// upon editing the caption for an image in order [INFO] [stdout] 54 | | /// to view the image who's caption is being edited [INFO] [stdout] 55 | | #[structopt(short = "c", long = "view-command")] [INFO] [stdout] 56 | | view_command: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / /// The command used to launch an image viewer [INFO] [stdout] 59 | | /// upon editing the caption for an image in order [INFO] [stdout] 60 | | /// to view the image who's caption is being edited. [INFO] [stdout] 61 | | /// Escape dash "-" symbols with a backslash: "\-". [INFO] [stdout] 62 | | /// For example: -a "\-\-some" "command" [INFO] [stdout] 63 | | #[structopt(short = "a", long = "view-command-args")] [INFO] [stdout] 64 | | view_command_args: Option>, [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:237:65 [INFO] [stdout] | [INFO] [stdout] 237 | let image_file_name = String::from(record_ref.get_filename().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `photo-captioner` (bin "photo-captioner" test) due to 4 previous errors; 1 warning emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / /// The type of output, available options: "csv" [INFO] [stdout] 40 | | #[structopt(short = "t", long = "output-type", default_value = "csv")] [INFO] [stdout] 41 | | output_type: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / /// The name of the output file (if there is one). [INFO] [stdout] 44 | | /// Will be "captions.csv" by default for the "csv" output-type. [INFO] [stdout] 45 | | #[structopt(short = "n", long = "output-name")] [INFO] [stdout] 46 | | output_name: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / /// The command used to launch an image viewer [INFO] [stdout] 53 | | /// upon editing the caption for an image in order [INFO] [stdout] 54 | | /// to view the image who's caption is being edited [INFO] [stdout] 55 | | #[structopt(short = "c", long = "view-command")] [INFO] [stdout] 56 | | view_command: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / /// The command used to launch an image viewer [INFO] [stdout] 59 | | /// upon editing the caption for an image in order [INFO] [stdout] 60 | | /// to view the image who's caption is being edited. [INFO] [stdout] 61 | | /// Escape dash "-" symbols with a backslash: "\-". [INFO] [stdout] 62 | | /// For example: -a "\-\-some" "command" [INFO] [stdout] 63 | | #[structopt(short = "a", long = "view-command-args")] [INFO] [stdout] 64 | | view_command_args: Option>, [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:237:65 [INFO] [stdout] | [INFO] [stdout] 237 | let image_file_name = String::from(record_ref.get_filename().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `photo-captioner` (bin "photo-captioner") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4e66204943d02acb3c3829a7dbd87c3b1482d8b891c43519cee19e30ccc4f6a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e66204943d02acb3c3829a7dbd87c3b1482d8b891c43519cee19e30ccc4f6a7", kill_on_drop: false }` [INFO] [stdout] 4e66204943d02acb3c3829a7dbd87c3b1482d8b891c43519cee19e30ccc4f6a7