[INFO] cloning repository https://github.com/maccoda/made-up [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maccoda/made-up" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaccoda%2Fmade-up", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaccoda%2Fmade-up'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 679f10debf0bca720b033870ef59e43416200ea3 [INFO] checking maccoda/made-up against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaccoda%2Fmade-up" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/maccoda/made-up [INFO] finished tweaking git repo https://github.com/maccoda/made-up [INFO] tweaked toml for git repo https://github.com/maccoda/made-up written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maccoda/made-up on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/maccoda/made-up 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" "+8a0378607d6b34c242e3bfa75554871be641864b" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded dtoa v0.4.5 [INFO] [stderr] Downloaded itoa v0.4.5 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded hermit-abi v0.1.14 [INFO] [stderr] Downloaded pest v0.3.3 [INFO] [stderr] Downloaded yaml-rust v0.4.4 [INFO] [stderr] Downloaded serde_json v1.0.55 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded addr2line v0.12.1 [INFO] [stderr] Downloaded ucd-util v0.1.8 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded pulldown-cmark v0.0.14 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded serde v1.0.111 [INFO] [stderr] Downloaded syn v1.0.31 [INFO] [stderr] Downloaded error-chain v0.10.0 [INFO] [stderr] Downloaded bitflags v0.8.2 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] [stderr] Downloaded gimli v0.21.0 [INFO] [stderr] Downloaded handlebars v0.29.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a3f3d1a8ed4236a187a9c1530a573bf774baf0002347da07a29215d3f117ee2 [INFO] running `Command { std: "docker" "start" "-a" "7a3f3d1a8ed4236a187a9c1530a573bf774baf0002347da07a29215d3f117ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a3f3d1a8ed4236a187a9c1530a573bf774baf0002347da07a29215d3f117ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a3f3d1a8ed4236a187a9c1530a573bf774baf0002347da07a29215d3f117ee2", kill_on_drop: false }` [INFO] [stdout] 7a3f3d1a8ed4236a187a9c1530a573bf774baf0002347da07a29215d3f117ee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86d8efb8443b458a7b4de76cf88733aed704c73687aaa1d460f9a3c9e492b891 [INFO] running `Command { std: "docker" "start" "-a" "86d8efb8443b458a7b4de76cf88733aed704c73687aaa1d460f9a3c9e492b891", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling pulldown-cmark v0.0.14 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking pest v0.3.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking handlebars v0.29.1 [INFO] [stderr] Checking made-up v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | /// Error type for the conversion of the markdown files to the static site. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / error_chain! { [INFO] [stdout] 29 | | foreign_links { [INFO] [stdout] 30 | | IO(std::io::Error); [INFO] [stdout] 31 | | Template(handlebars::RenderError); [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | /// Error type for the conversion of the markdown files to the static site. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | fn handle_config(root_dir: &AsRef, config: &config::Configuration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | fn handle_config(root_dir: &dyn AsRef, config: &config::Configuration) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / error_chain! { [INFO] [stdout] 29 | | foreign_links { [INFO] [stdout] 30 | | IO(std::io::Error); [INFO] [stdout] 31 | | Template(handlebars::RenderError); [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | fn handle_config(root_dir: &AsRef, config: &config::Configuration) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | fn handle_config(root_dir: &dyn AsRef, config: &config::Configuration) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / error_chain! { [INFO] [stdout] 29 | | foreign_links { [INFO] [stdout] 30 | | IO(std::io::Error); [INFO] [stdout] 31 | | Template(handlebars::RenderError); [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / error_chain! { [INFO] [stdout] 29 | | foreign_links { [INFO] [stdout] 30 | | IO(std::io::Error); [INFO] [stdout] 31 | | Template(handlebars::RenderError); [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/config/config_macro.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 19 | impl RawConfiguration { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn from>(config_path: P) -> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | / configuration! { [INFO] [stdout] 80 | | stylesheet, String, "".to_string(); [INFO] [stdout] 81 | | gen_index, bool, false; [INFO] [stdout] 82 | | out_dir, String, "out".to_string(); [INFO] [stdout] 83 | | copy_resources, bool, true; [INFO] [stdout] 84 | | title, String, "title".to_string() [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `configuration` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/config/config_macro.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 46 | impl Configuration { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 47 | /// Obtain a `Configuration` from the path provided. [INFO] [stdout] 48 | pub fn from>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | / configuration! { [INFO] [stdout] 80 | | stylesheet, String, "".to_string(); [INFO] [stdout] 81 | | gen_index, bool, false; [INFO] [stdout] 82 | | out_dir, String, "out".to_string(); [INFO] [stdout] 83 | | copy_resources, bool, true; [INFO] [stdout] 84 | | title, String, "title".to_string() [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `configuration` (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/config/config_macro.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RawConfiguration` [INFO] [stdout] 13 | struct RawConfiguration { [INFO] [stdout] | ---------------- `RawConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/config/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / configuration!{ [INFO] [stdout] 13 | | stylesheet, Vec, vec![]; [INFO] [stdout] 14 | | index_template, Option, None; [INFO] [stdout] 15 | | out_dir, String, "out".to_string(); [INFO] [stdout] 16 | | copy_resources, bool, true; [INFO] [stdout] 17 | | title, String, "Title".to_string() [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [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` which comes from the expansion of the macro `configuration` (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/config/config_macro.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RawConfiguration` [INFO] [stdout] 13 | struct RawConfiguration { [INFO] [stdout] | ---------------- `RawConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/config/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / configuration!{ [INFO] [stdout] 13 | | stylesheet, Vec, vec![]; [INFO] [stdout] 14 | | index_template, Option, None; [INFO] [stdout] 15 | | out_dir, String, "out".to_string(); [INFO] [stdout] 16 | | copy_resources, bool, true; [INFO] [stdout] 17 | | title, String, "Title".to_string() [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [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` which comes from the expansion of the macro `configuration` (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/config/config_macro.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RawConfiguration` [INFO] [stdout] 13 | struct RawConfiguration { [INFO] [stdout] | ---------------- `RawConfiguration` is not local [INFO] [stdout] ... [INFO] [stdout] 79 | / configuration! { [INFO] [stdout] 80 | | stylesheet, String, "".to_string(); [INFO] [stdout] 81 | | gen_index, bool, false; [INFO] [stdout] 82 | | out_dir, String, "out".to_string(); [INFO] [stdout] 83 | | copy_resources, bool, true; [INFO] [stdout] 84 | | title, String, "title".to_string() [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____- in this macro invocation [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` which comes from the expansion of the macro `configuration` (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/config/config_macro.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RawConfiguration` [INFO] [stdout] 13 | struct RawConfiguration { [INFO] [stdout] | ---------------- `RawConfiguration` is not local [INFO] [stdout] ... [INFO] [stdout] 79 | / configuration! { [INFO] [stdout] 80 | | stylesheet, String, "".to_string(); [INFO] [stdout] 81 | | gen_index, bool, false; [INFO] [stdout] 82 | | out_dir, String, "out".to_string(); [INFO] [stdout] 83 | | copy_resources, bool, true; [INFO] [stdout] 84 | | title, String, "title".to_string() [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____- in this macro invocation [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` which comes from the expansion of the macro `configuration` (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/templates.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Element` [INFO] [stdout] 32 | pub struct Element { [INFO] [stdout] | ------- `Element` 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/config/config_macro.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RawConfiguration` [INFO] [stdout] 13 | struct RawConfiguration { [INFO] [stdout] | ---------------- `RawConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/config/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / configuration!{ [INFO] [stdout] 13 | | stylesheet, Vec, vec![]; [INFO] [stdout] 14 | | index_template, Option, None; [INFO] [stdout] 15 | | out_dir, String, "out".to_string(); [INFO] [stdout] 16 | | copy_resources, bool, true; [INFO] [stdout] 17 | | title, String, "Title".to_string() [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [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` which comes from the expansion of the macro `configuration` (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/config/config_macro.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RawConfiguration` [INFO] [stdout] 13 | struct RawConfiguration { [INFO] [stdout] | ---------------- `RawConfiguration` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/config/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / configuration!{ [INFO] [stdout] 13 | | stylesheet, Vec, vec![]; [INFO] [stdout] 14 | | index_template, Option, None; [INFO] [stdout] 15 | | out_dir, String, "out".to_string(); [INFO] [stdout] 16 | | copy_resources, bool, true; [INFO] [stdout] 17 | | title, String, "Title".to_string() [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [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` which comes from the expansion of the macro `configuration` (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/templates.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Element` [INFO] [stdout] 32 | pub struct Element { [INFO] [stdout] | ------- `Element` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.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" "86d8efb8443b458a7b4de76cf88733aed704c73687aaa1d460f9a3c9e492b891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86d8efb8443b458a7b4de76cf88733aed704c73687aaa1d460f9a3c9e492b891", kill_on_drop: false }` [INFO] [stdout] 86d8efb8443b458a7b4de76cf88733aed704c73687aaa1d460f9a3c9e492b891