[INFO] cloning repository https://github.com/Alastair-smith2/rust_songs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alastair-smith2/rust_songs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlastair-smith2%2Frust_songs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlastair-smith2%2Frust_songs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8383b7416510cdfed348f7b8f5920e8fd3147e5 [INFO] checking Alastair-smith2/rust_songs 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%2FAlastair-smith2%2Frust_songs" "/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/Alastair-smith2/rust_songs [INFO] finished tweaking git repo https://github.com/Alastair-smith2/rust_songs [INFO] tweaked toml for git repo https://github.com/Alastair-smith2/rust_songs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Alastair-smith2/rust_songs 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/Alastair-smith2/rust_songs 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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] f0dff7a8ca7f1e09d172b602cea0443db18cd1f3f409c104872d17447958b054 [INFO] running `Command { std: "docker" "start" "-a" "f0dff7a8ca7f1e09d172b602cea0443db18cd1f3f409c104872d17447958b054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0dff7a8ca7f1e09d172b602cea0443db18cd1f3f409c104872d17447958b054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0dff7a8ca7f1e09d172b602cea0443db18cd1f3f409c104872d17447958b054", kill_on_drop: false }` [INFO] [stdout] f0dff7a8ca7f1e09d172b602cea0443db18cd1f3f409c104872d17447958b054 [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] c53109caf14eeddd502b19c4f85e947abd3afe5bd145790a5a4874d24f039511 [INFO] running `Command { std: "docker" "start" "-a" "c53109caf14eeddd502b19c4f85e947abd3afe5bd145790a5a4874d24f039511", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking songs v0.1.0 (/opt/rustwide/workdir/songs) [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking clap v3.1.9 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Checking song-cli v0.1.0 (/opt/rustwide/workdir/song-cli) [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> song-cli/src/infra/error.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | SongResultError::LookupError(reason) => None, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> song-cli/src/infra/error.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | SongResultError::LookupError(reason) => None, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> song-cli/src/cli/commands.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// The title of the song [INFO] [stdout] 16 | | #[clap(short, long)] [INFO] [stdout] 17 | | pub title: 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] --> song-cli/src/cli/commands.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// The url of the song [INFO] [stdout] 20 | | #[clap(short, long)] [INFO] [stdout] 21 | | pub url: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> song-cli/src/cli/commands.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / /// The title of the song [INFO] [stdout] 46 | | #[clap(short, long)] [INFO] [stdout] 47 | | pub title: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> song-cli/src/cli/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / #[clap(short, long)] [INFO] [stdout] 14 | | pub csv: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> song-cli/src/cli/commands.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// The title of the song [INFO] [stdout] 16 | | #[clap(short, long)] [INFO] [stdout] 17 | | pub title: 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] --> song-cli/src/cli/commands.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// The url of the song [INFO] [stdout] 20 | | #[clap(short, long)] [INFO] [stdout] 21 | | pub url: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> song-cli/src/cli/commands.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / /// The title of the song [INFO] [stdout] 46 | | #[clap(short, long)] [INFO] [stdout] 47 | | pub title: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> song-cli/src/cli/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / #[clap(short, long)] [INFO] [stdout] 14 | | pub csv: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `song-cli` (bin "song-cli") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `song-cli` (bin "song-cli" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c53109caf14eeddd502b19c4f85e947abd3afe5bd145790a5a4874d24f039511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53109caf14eeddd502b19c4f85e947abd3afe5bd145790a5a4874d24f039511", kill_on_drop: false }` [INFO] [stdout] c53109caf14eeddd502b19c4f85e947abd3afe5bd145790a5a4874d24f039511