[INFO] cloning repository https://github.com/CharcoalStyles/journaliser-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CharcoalStyles/journaliser-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharcoalStyles%2Fjournaliser-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharcoalStyles%2Fjournaliser-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ad802ea5533252da803ea7b03541ce74fe00c3e [INFO] checking CharcoalStyles/journaliser-cli 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%2FCharcoalStyles%2Fjournaliser-cli" "/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/CharcoalStyles/journaliser-cli [INFO] finished tweaking git repo https://github.com/CharcoalStyles/journaliser-cli [INFO] tweaked toml for git repo https://github.com/CharcoalStyles/journaliser-cli written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CharcoalStyles/journaliser-cli 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/CharcoalStyles/journaliser-cli 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] Blocking waiting for file lock on package cache [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] 8205a94c3b6807338eaff7b3a2f8e46cee9567c00e0d3aab6fcbbb9c494f106c [INFO] running `Command { std: "docker" "start" "-a" "8205a94c3b6807338eaff7b3a2f8e46cee9567c00e0d3aab6fcbbb9c494f106c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8205a94c3b6807338eaff7b3a2f8e46cee9567c00e0d3aab6fcbbb9c494f106c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8205a94c3b6807338eaff7b3a2f8e46cee9567c00e0d3aab6fcbbb9c494f106c", kill_on_drop: false }` [INFO] [stdout] 8205a94c3b6807338eaff7b3a2f8e46cee9567c00e0d3aab6fcbbb9c494f106c [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] 2f69fb50c56919cf7f53857dc5573576d0b8dda1547b26c96f4a84a594c0e011 [INFO] running `Command { std: "docker" "start" "-a" "2f69fb50c56919cf7f53857dc5573576d0b8dda1547b26c96f4a84a594c0e011", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking clap v3.0.5 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking journaliser-cli-rust v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `note_mods` [INFO] [stdout] --> src/main.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let note_mods = get_note_mods(&config.url).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_note_mods` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `note_mods` [INFO] [stdout] --> src/main.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let note_mods = get_note_mods(&config.url).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_note_mods` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `otherDateRequired` is never read [INFO] [stdout] --> src/main.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 349 | struct Collection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 352 | otherDateRequired: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Note Type, if supplied will be checked against available types [INFO] [stdout] 20 | | #[clap(short = 'n', help = "Optional, Set the note type")] [INFO] [stdout] 21 | | note_type: 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/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / /// Collection, if supplied will be checked against available collections [INFO] [stdout] 24 | | #[clap(short = 'c', help = "Optional, Set the collection")] [INFO] [stdout] 25 | | collection: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / /// The actual body of the note [INFO] [stdout] 28 | | #[clap(help = "The actual note body")] [INFO] [stdout] 29 | | message: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / #[clap(short = 't', long, help = "What type of new data to add")] [INFO] [stdout] 37 | | data_type: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / #[clap(help = "The new type name")] [INFO] [stdout] 40 | | value: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `journaliser-cli-rust` (bin "journaliser-cli-rust" test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `otherDateRequired` is never read [INFO] [stdout] --> src/main.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 349 | struct Collection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 352 | otherDateRequired: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Note Type, if supplied will be checked against available types [INFO] [stdout] 20 | | #[clap(short = 'n', help = "Optional, Set the note type")] [INFO] [stdout] 21 | | note_type: 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/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / /// Collection, if supplied will be checked against available collections [INFO] [stdout] 24 | | #[clap(short = 'c', help = "Optional, Set the collection")] [INFO] [stdout] 25 | | collection: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / /// The actual body of the note [INFO] [stdout] 28 | | #[clap(help = "The actual note body")] [INFO] [stdout] 29 | | message: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / #[clap(short = 't', long, help = "What type of new data to add")] [INFO] [stdout] 37 | | data_type: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / #[clap(help = "The new type name")] [INFO] [stdout] 40 | | value: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `journaliser-cli-rust` (bin "journaliser-cli-rust") due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2f69fb50c56919cf7f53857dc5573576d0b8dda1547b26c96f4a84a594c0e011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f69fb50c56919cf7f53857dc5573576d0b8dda1547b26c96f4a84a594c0e011", kill_on_drop: false }` [INFO] [stdout] 2f69fb50c56919cf7f53857dc5573576d0b8dda1547b26c96f4a84a594c0e011