[INFO] cloning repository https://github.com/omni-custodian/oxibooru_toolkit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omni-custodian/oxibooru_toolkit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomni-custodian%2Foxibooru_toolkit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomni-custodian%2Foxibooru_toolkit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13e3d12c6118c413c69f85d21aade46c272b586f [INFO] checking omni-custodian/oxibooru_toolkit against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomni-custodian%2Foxibooru_toolkit" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/omni-custodian/oxibooru_toolkit [INFO] finished tweaking git repo https://github.com/omni-custodian/oxibooru_toolkit [INFO] tweaked toml for git repo https://github.com/omni-custodian/oxibooru_toolkit written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/omni-custodian/oxibooru_toolkit on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/omni-custodian/oxibooru_toolkit 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-src v300.4.0+3.4.0 [INFO] [stderr] Downloaded szurubooru-client v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fec4a8b051cf2fcf98d973625b6de5784fc63e7567f082145b223a9eab914325 [INFO] running `Command { std: "docker" "start" "-a" "fec4a8b051cf2fcf98d973625b6de5784fc63e7567f082145b223a9eab914325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fec4a8b051cf2fcf98d973625b6de5784fc63e7567f082145b223a9eab914325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec4a8b051cf2fcf98d973625b6de5784fc63e7567f082145b223a9eab914325", kill_on_drop: false }` [INFO] [stdout] fec4a8b051cf2fcf98d973625b6de5784fc63e7567f082145b223a9eab914325 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf9c025728b4ad9ffcb706dec6ec625bc9a6b57f2be985257dc171baa9fd7e8e [INFO] running `Command { std: "docker" "start" "-a" "bf9c025728b4ad9ffcb706dec6ec625bc9a6b57f2be985257dc171baa9fd7e8e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling openssl-src v300.4.0+3.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking indicatif v0.17.9 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.8 [INFO] [stderr] Checking szurubooru-client v0.6.2 [INFO] [stderr] Checking oxibooru_toolkit v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::fs::File` [INFO] [stdout] --> src/post_utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::BufReader` [INFO] [stdout] --> src/post_utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs::File` [INFO] [stdout] --> src/post_utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::BufReader` [INFO] [stdout] --> src/post_utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | println!("Listing tags of category at path: {}", todo!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | println!("Listing tags of category at path: {}", todo!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/post_utils.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | none => url.to_string(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None` [INFO] [stdout] | [INFO] [stdout] 156 - none => url.to_string(), [INFO] [stdout] 156 + std::prelude::v1::None => url.to_string(), [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 156 | _none => url.to_string(), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | async fn set_tags_to_category(client: &SzurubooruClient, path: &str, option: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/main.rs:71:70 [INFO] [stdout] | [INFO] [stdout] 71 | async fn set_tags_to_category(client: &SzurubooruClient, path: &str, option: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | async fn list_tags_of_category(client: &SzurubooruClient, path: &str, option: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/main.rs:79:71 [INFO] [stdout] | [INFO] [stdout] 79 | async fn list_tags_of_category(client: &SzurubooruClient, path: &str, option: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | async fn upload_pool(client: &SzurubooruClient, path: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:266:49 [INFO] [stdout] | [INFO] [stdout] 266 | async fn upload_pool(client: &SzurubooruClient, path: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/post_utils.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | none => url.to_string(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None` [INFO] [stdout] | [INFO] [stdout] 156 - none => url.to_string(), [INFO] [stdout] 156 + std::prelude::v1::None => url.to_string(), [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 156 | _none => url.to_string(), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log_level` is never read [INFO] [stdout] --> src/main.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 315 | struct SettingsConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 318 | log_level: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SettingsConfig` 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] warning: function `get_sorted_filenames` is never used [INFO] [stdout] --> src/post_utils.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn get_sorted_filenames(path: &str) -> SzurubooruResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | async fn set_tags_to_category(client: &SzurubooruClient, path: &str, option: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/main.rs:71:70 [INFO] [stdout] | [INFO] [stdout] 71 | async fn set_tags_to_category(client: &SzurubooruClient, path: &str, option: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | async fn list_tags_of_category(client: &SzurubooruClient, path: &str, option: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/main.rs:79:71 [INFO] [stdout] | [INFO] [stdout] 79 | async fn list_tags_of_category(client: &SzurubooruClient, path: &str, option: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | async fn upload_pool(client: &SzurubooruClient, path: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:266:49 [INFO] [stdout] | [INFO] [stdout] 266 | async fn upload_pool(client: &SzurubooruClient, path: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log_level` is never read [INFO] [stdout] --> src/main.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 315 | struct SettingsConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 318 | log_level: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SettingsConfig` 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] warning: function `get_sorted_filenames` is never used [INFO] [stdout] --> src/post_utils.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn get_sorted_filenames(path: &str) -> SzurubooruResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 44s [INFO] running `Command { std: "docker" "inspect" "bf9c025728b4ad9ffcb706dec6ec625bc9a6b57f2be985257dc171baa9fd7e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf9c025728b4ad9ffcb706dec6ec625bc9a6b57f2be985257dc171baa9fd7e8e", kill_on_drop: false }` [INFO] [stdout] bf9c025728b4ad9ffcb706dec6ec625bc9a6b57f2be985257dc171baa9fd7e8e