[INFO] cloning repository https://github.com/masahiro04/wordpress_posts_to_md [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/masahiro04/wordpress_posts_to_md" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasahiro04%2Fwordpress_posts_to_md", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasahiro04%2Fwordpress_posts_to_md'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffb8f4937b0e0c364a18533a230585cfb25079ad [INFO] testing masahiro04/wordpress_posts_to_md against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasahiro04%2Fwordpress_posts_to_md" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masahiro04/wordpress_posts_to_md on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/masahiro04/wordpress_posts_to_md [INFO] finished tweaking git repo https://github.com/masahiro04/wordpress_posts_to_md [INFO] tweaked toml for git repo https://github.com/masahiro04/wordpress_posts_to_md written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/masahiro04/wordpress_posts_to_md 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a679b5a393bb7f0125c9d5d8ece9b76179b796e36aac8c38318fa8e50895791c [INFO] running `Command { std: "docker" "start" "-a" "a679b5a393bb7f0125c9d5d8ece9b76179b796e36aac8c38318fa8e50895791c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a679b5a393bb7f0125c9d5d8ece9b76179b796e36aac8c38318fa8e50895791c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a679b5a393bb7f0125c9d5d8ece9b76179b796e36aac8c38318fa8e50895791c", kill_on_drop: false }` [INFO] [stdout] a679b5a393bb7f0125c9d5d8ece9b76179b796e36aac8c38318fa8e50895791c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe6a09693e3ce476446b21cc6d5c137bb9eb87b65355f420f4dbbc96f5ad93e5 [INFO] running `Command { std: "docker" "start" "-a" "fe6a09693e3ce476446b21cc6d5c137bb9eb87b65355f420f4dbbc96f5ad93e5", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.6 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling xml5ever v0.16.2 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling select v0.5.0 [INFO] [stderr] Compiling wordpress_posts_to_md v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | date: String, [INFO] [stdout] 20 | date_gmt: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | modified_gmt: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | excerpt: Rendered, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / categories [INFO] [stdout] 46 | | .into_iter() [INFO] [stdout] 47 | | .map(|category| { [INFO] [stdout] 48 | | if category.id == id { [INFO] [stdout] ... | [INFO] [stdout] 51 | | }) [INFO] [stdout] 52 | | .collect::>(); [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = categories [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fe6a09693e3ce476446b21cc6d5c137bb9eb87b65355f420f4dbbc96f5ad93e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe6a09693e3ce476446b21cc6d5c137bb9eb87b65355f420f4dbbc96f5ad93e5", kill_on_drop: false }` [INFO] [stdout] fe6a09693e3ce476446b21cc6d5c137bb9eb87b65355f420f4dbbc96f5ad93e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd1b34f9cf8594a0e9ed0b4d3f7901faf929b8bb5179064eec0b71124fcb39fe [INFO] running `Command { std: "docker" "start" "-a" "bd1b34f9cf8594a0e9ed0b4d3f7901faf929b8bb5179064eec0b71124fcb39fe", kill_on_drop: false }` [INFO] [stderr] Compiling wordpress_posts_to_md v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Post { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | date: String, [INFO] [stdout] 20 | date_gmt: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | modified_gmt: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | excerpt: Rendered, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Post` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / categories [INFO] [stdout] 46 | | .into_iter() [INFO] [stdout] 47 | | .map(|category| { [INFO] [stdout] 48 | | if category.id == id { [INFO] [stdout] ... | [INFO] [stdout] 51 | | }) [INFO] [stdout] 52 | | .collect::>(); [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = categories [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "bd1b34f9cf8594a0e9ed0b4d3f7901faf929b8bb5179064eec0b71124fcb39fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd1b34f9cf8594a0e9ed0b4d3f7901faf929b8bb5179064eec0b71124fcb39fe", kill_on_drop: false }` [INFO] [stdout] bd1b34f9cf8594a0e9ed0b4d3f7901faf929b8bb5179064eec0b71124fcb39fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2dda9f5841c1e26ed8a855a6b722dc2da70a604f17f4e86ddfb3d4c5f8748a3 [INFO] running `Command { std: "docker" "start" "-a" "a2dda9f5841c1e26ed8a855a6b722dc2da70a604f17f4e86ddfb3d4c5f8748a3", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/file.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 17 | struct Post { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 18 | id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 19 | date: String, [INFO] [stderr] 20 | date_gmt: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 21 | modified: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 22 | modified_gmt: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 26 | link: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | excerpt: Rendered, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Post` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/main.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | / categories [INFO] [stderr] 46 | | .into_iter() [INFO] [stderr] 47 | | .map(|category| { [INFO] [stderr] 48 | | if category.id == id { [INFO] [stderr] ... | [INFO] [stderr] 51 | | }) [INFO] [stderr] 52 | | .collect::>(); [INFO] [stderr] | |________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 45 | let _ = categories [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `wordpress_posts_to_md` (bin "wordpress_posts_to_md" test) generated 3 warnings (run `cargo fix --bin "wordpress_posts_to_md" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wordpress_posts_to_md-68c008654474d532) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a2dda9f5841c1e26ed8a855a6b722dc2da70a604f17f4e86ddfb3d4c5f8748a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2dda9f5841c1e26ed8a855a6b722dc2da70a604f17f4e86ddfb3d4c5f8748a3", kill_on_drop: false }` [INFO] [stdout] a2dda9f5841c1e26ed8a855a6b722dc2da70a604f17f4e86ddfb3d4c5f8748a3