[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#86f78589b09557f70c9db3f56ad1921e0a9f76ef for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaccoda%2Fmade-up" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maccoda/made-up on toolchain 86f78589b09557f70c9db3f56ad1921e0a9f76ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 431347bd677301789284ed20ee31b2b412488b4c55fd6edcd916c43c2328c089 [INFO] running `Command { std: "docker" "start" "-a" "431347bd677301789284ed20ee31b2b412488b4c55fd6edcd916c43c2328c089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "431347bd677301789284ed20ee31b2b412488b4c55fd6edcd916c43c2328c089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "431347bd677301789284ed20ee31b2b412488b4c55fd6edcd916c43c2328c089", kill_on_drop: false }` [INFO] [stdout] 431347bd677301789284ed20ee31b2b412488b4c55fd6edcd916c43c2328c089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 203a81922f09e617488bd83128a94e7cdcb4449c1b3f800c113d49b9b303542c [INFO] running `Command { std: "docker" "start" "-a" "203a81922f09e617488bd83128a94e7cdcb4449c1b3f800c113d49b9b303542c", 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] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling pulldown-cmark v0.0.14 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking pest v0.3.3 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [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: 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: 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: 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: 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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.43s [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" "203a81922f09e617488bd83128a94e7cdcb4449c1b3f800c113d49b9b303542c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "203a81922f09e617488bd83128a94e7cdcb4449c1b3f800c113d49b9b303542c", kill_on_drop: false }` [INFO] [stdout] 203a81922f09e617488bd83128a94e7cdcb4449c1b3f800c113d49b9b303542c