[INFO] cloning repository https://github.com/setr/redsystem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/setr/redsystem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsetr%2Fredsystem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsetr%2Fredsystem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1ec91d7d8ad4c63de27286dfa3fed21d78baf0f [INFO] checking setr/redsystem against try#5785402183672f7786e9dc343d7b435bdaf4a4bc for pr-138001 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsetr%2Fredsystem" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/setr/redsystem on toolchain 5785402183672f7786e9dc343d7b435bdaf4a4bc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/setr/redsystem [INFO] finished tweaking git repo https://github.com/setr/redsystem [INFO] tweaked toml for git repo https://github.com/setr/redsystem written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/setr/redsystem 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" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_derive v1.0.8 [INFO] [stderr] Downloaded dialoguer v0.1.0 [INFO] [stderr] Downloaded console v0.6.2 [INFO] [stderr] Downloaded simplelog v0.5.2 [INFO] [stderr] Downloaded staticfile v0.5.0 [INFO] [stderr] Downloaded tera v0.11.16 [INFO] [stderr] Downloaded sequence_trie v0.3.5 [INFO] [stderr] Downloaded pest v1.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c675b28a54ab2bceef6145901e2bb0a1e488e6dca63c8653e0aa2e40fcec8f8c [INFO] running `Command { std: "docker" "start" "-a" "c675b28a54ab2bceef6145901e2bb0a1e488e6dca63c8653e0aa2e40fcec8f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c675b28a54ab2bceef6145901e2bb0a1e488e6dca63c8653e0aa2e40fcec8f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c675b28a54ab2bceef6145901e2bb0a1e488e6dca63c8653e0aa2e40fcec8f8c", kill_on_drop: false }` [INFO] [stdout] c675b28a54ab2bceef6145901e2bb0a1e488e6dca63c8653e0aa2e40fcec8f8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06dbf67583271e06eb31aa5dbbd6d9af9825316122087f15ec4d28d629d6027e [INFO] running `Command { std: "docker" "start" "-a" "06dbf67583271e06eb31aa5dbbd6d9af9825316122087f15ec4d28d629d6027e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Checking phf_shared v0.7.23 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking clicolors-control v0.2.0 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking sequence_trie v0.3.5 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling syn v0.15.8 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Checking hyper v0.10.13 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking simplelog v0.5.2 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking console v0.6.2 [INFO] [stderr] Checking iron v0.6.0 [INFO] [stderr] Checking dialoguer v0.1.0 [INFO] [stderr] Checking mount v0.4.0 [INFO] [stderr] Checking staticfile v0.5.0 [INFO] [stderr] Checking indicatif v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Checking toml v0.4.8 [INFO] [stderr] Checking tera v0.11.16 [INFO] [stderr] Checking redsystem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `missing_directory` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | missing_directory(dir: PathBuf){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MissingDirectory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `missing_post_header` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | missing_post_header( file: PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MissingPostHeader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `invalid_header` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | invalid_header(err: toml::de::Error, file: PathBuf){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InvalidHeader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `duplicate_name` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | duplicate_name(name: String, post1: PathBuf, post2:PathBuf){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DuplicateName` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/gen_html.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/gen_html.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/post_graph.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Debug, Default, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_symlinks` [INFO] [stdout] --> src/main.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | use gen_html::{create_posts, create_symlinks, gen_posts_html, get_templates}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `posts::PostTypes` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use posts::PostTypes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `missing_directory` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | missing_directory(dir: PathBuf){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MissingDirectory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `missing_post_header` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | missing_post_header( file: PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MissingPostHeader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `invalid_header` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | invalid_header(err: toml::de::Error, file: PathBuf){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InvalidHeader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `duplicate_name` should have an upper camel case name [INFO] [stdout] --> src/errors.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | duplicate_name(name: String, post1: PathBuf, post2:PathBuf){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DuplicateName` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/gen_html.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/gen_html.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/post_graph.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Debug, Default, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/posts.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_symlinks` [INFO] [stdout] --> src/main.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | use gen_html::{create_posts, create_symlinks, gen_posts_html, get_templates}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `posts::PostTypes` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use posts::PostTypes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_symlinks` is never used [INFO] [stdout] --> src/gen_html.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn create_symlinks(wwwdir: &Path, srcdir: &Path, posts: &[PostHtml]) -> Result<(), IOError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_fakeposts`, `find_paths`, `ixs_to_name`, and `find_all_paths` are never used [INFO] [stdout] --> src/post_graph.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> Graph<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_fakeposts(self: &mut Self, items: &'a [PostTypes]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn find_paths( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn ixs_to_name(self: &Self, ixs: &[NodeIndex]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn find_all_paths(self: &Self) -> Vec<(String, Vec, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `basename` is never used [INFO] [stdout] --> src/posts.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl PostTypes { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn basename(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Debug, Default, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TeraNextPost` [INFO] [stdout] 15 | pub struct TeraNextPost { [INFO] [stdout] | ------------ `TeraNextPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Category` [INFO] [stdout] 21 | #[serde(deny_unknown_fields)] [INFO] [stdout] 22 | pub struct Category { [INFO] [stdout] | -------- `Category` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Category` [INFO] [stdout] 21 | #[serde(deny_unknown_fields)] [INFO] [stdout] 22 | pub struct Category { [INFO] [stdout] | -------- `Category` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Post` [INFO] [stdout] 41 | #[serde(deny_unknown_fields)] [INFO] [stdout] 42 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Post` [INFO] [stdout] 41 | #[serde(deny_unknown_fields)] [INFO] [stdout] 42 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PostTypes` [INFO] [stdout] 68 | #[serde(tag = "type")] [INFO] [stdout] 69 | pub enum PostTypes { [INFO] [stdout] | --------- `PostTypes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PostTypes` [INFO] [stdout] 68 | #[serde(tag = "type")] [INFO] [stdout] 69 | pub enum PostTypes { [INFO] [stdout] | --------- `PostTypes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_symlinks` is never used [INFO] [stdout] --> src/gen_html.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn create_symlinks(wwwdir: &Path, srcdir: &Path, posts: &[PostHtml]) -> Result<(), IOError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_fakeposts`, `find_paths`, `ixs_to_name`, and `find_all_paths` are never used [INFO] [stdout] --> src/post_graph.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> Graph<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_fakeposts(self: &mut Self, items: &'a [PostTypes]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn find_paths( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn ixs_to_name(self: &Self, ixs: &[NodeIndex]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn find_all_paths(self: &Self) -> Vec<(String, Vec, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `basename` is never used [INFO] [stdout] --> src/posts.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl PostTypes { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn basename(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Debug, Default, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TeraNextPost` [INFO] [stdout] 15 | pub struct TeraNextPost { [INFO] [stdout] | ------------ `TeraNextPost` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Category` [INFO] [stdout] 21 | #[serde(deny_unknown_fields)] [INFO] [stdout] 22 | pub struct Category { [INFO] [stdout] | -------- `Category` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Category` [INFO] [stdout] 21 | #[serde(deny_unknown_fields)] [INFO] [stdout] 22 | pub struct Category { [INFO] [stdout] | -------- `Category` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Post` [INFO] [stdout] 41 | #[serde(deny_unknown_fields)] [INFO] [stdout] 42 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Default, Debug, Deserialize, Serialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Post` [INFO] [stdout] 41 | #[serde(deny_unknown_fields)] [INFO] [stdout] 42 | pub struct Post { [INFO] [stdout] | ---- `Post` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PostTypes` [INFO] [stdout] 68 | #[serde(tag = "type")] [INFO] [stdout] 69 | pub enum PostTypes { [INFO] [stdout] | --------- `PostTypes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/posts.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_PostTypes` [INFO] [stdout] 68 | #[serde(tag = "type")] [INFO] [stdout] 69 | pub enum PostTypes { [INFO] [stdout] | --------- `PostTypes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0, typemap v0.3.3 [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" "06dbf67583271e06eb31aa5dbbd6d9af9825316122087f15ec4d28d629d6027e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06dbf67583271e06eb31aa5dbbd6d9af9825316122087f15ec4d28d629d6027e", kill_on_drop: false }` [INFO] [stdout] 06dbf67583271e06eb31aa5dbbd6d9af9825316122087f15ec4d28d629d6027e