[INFO] fetching crate quatrain 0.6.0... [INFO] checking quatrain-0.6.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate quatrain 0.6.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate quatrain 0.6.0 [INFO] finished tweaking crates.io crate quatrain 0.6.0 [INFO] tweaked toml for crates.io crate quatrain 0.6.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate quatrain 0.6.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate quatrain 0.6.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ignore v0.4.16 [INFO] [stderr] Downloaded auto_enums_core v0.7.5 [INFO] [stderr] Downloaded auto_enums v0.7.5 [INFO] [stderr] Downloaded quick-js v0.3.3 [INFO] [stderr] Downloaded auto_enums_derive v0.7.5 [INFO] [stderr] Downloaded copy_dir v0.1.2 [INFO] [stderr] Downloaded katex v0.2.1 [INFO] [stderr] Downloaded libquickjs-sys v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b31a1abeb988d4f424ac4a3088f094188a0fdd58e114037ae2a15d1793558d0 [INFO] running `Command { std: "docker" "start" "-a" "8b31a1abeb988d4f424ac4a3088f094188a0fdd58e114037ae2a15d1793558d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b31a1abeb988d4f424ac4a3088f094188a0fdd58e114037ae2a15d1793558d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b31a1abeb988d4f424ac4a3088f094188a0fdd58e114037ae2a15d1793558d0", kill_on_drop: false }` [INFO] [stdout] 8b31a1abeb988d4f424ac4a3088f094188a0fdd58e114037ae2a15d1793558d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7f3d3ea2242394125e1c3338f4c3f3821f605eeea7b17414c1401d3821aae66 [INFO] running `Command { std: "docker" "start" "-a" "d7f3d3ea2242394125e1c3338f4c3f3821f605eeea7b17414c1401d3821aae66", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling auto_enums_derive v0.7.5 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling copy_dir v0.1.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling libquickjs-sys v0.6.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling derive_utils v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling auto_enums_core v0.7.5 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Checking auto_enums v0.7.5 [INFO] [stderr] Checking thiserror v1.0.19 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking serde_yaml v0.8.12 [INFO] [stderr] Checking quick-js v0.3.3 [INFO] [stderr] Checking katex v0.2.1 [INFO] [stderr] Checking quatrain v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/renderer/escape.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(all(target_arch = "x86_64", feature = "simd"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/renderer/escape.rs:93:39 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(all(target_arch = "x86_64", feature = "simd"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/renderer/escape.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 97 | #[cfg(not(all(target_arch = "x86_64", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/parser/parse/mod.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(all(target_arch = "x86_64", feature = "simd"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/parser/parse/parse.rs:2805:39 [INFO] [stdout] | [INFO] [stdout] 2805 | #[cfg(all(target_arch = "x86_64", feature = "simd"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/parser/parse/parse.rs:2809:43 [INFO] [stdout] | [INFO] [stdout] 2809 | #[cfg(not(all(target_arch = "x86_64", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/renderer/escape.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(all(target_arch = "x86_64", feature = "simd"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/renderer/escape.rs:93:39 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(all(target_arch = "x86_64", feature = "simd"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/renderer/escape.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 97 | #[cfg(not(all(target_arch = "x86_64", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/parser/parse/mod.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(all(target_arch = "x86_64", feature = "simd"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/parser/parse/parse.rs:2805:39 [INFO] [stdout] | [INFO] [stdout] 2805 | #[cfg(all(target_arch = "x86_64", feature = "simd"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simd` [INFO] [stdout] --> src/lib/parser/parse/parse.rs:2809:43 [INFO] [stdout] | [INFO] [stdout] 2809 | #[cfg(not(all(target_arch = "x86_64", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dirs`, `getopts`, `lazy_static`, `quatrain`, and `tera` [INFO] [stdout] = help: consider adding `simd` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/lib/parser/frontmatter/field.rs:105:44 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Debug, Clone, Default, PartialEq, 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_Banner` [INFO] [stdout] 106 | pub struct Banner { [INFO] [stdout] | ------ `Banner` 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/lib/parser/frontmatter/field.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Debug, Clone, Default, PartialEq, 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_Banner` [INFO] [stdout] 106 | pub struct Banner { [INFO] [stdout] | ------ `Banner` 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/lib/parser/frontmatter/field.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Debug, Clone, PartialEq, 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_Render` [INFO] [stdout] 122 | pub struct Render { [INFO] [stdout] | ------ `Render` 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/lib/parser/frontmatter/field.rs:121:46 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Debug, Clone, PartialEq, 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_Render` [INFO] [stdout] 122 | pub struct Render { [INFO] [stdout] | ------ `Render` 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/lib/parser/frontmatter/field.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Clone, Default, PartialEq, 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_FrontMatter` [INFO] [stdout] 153 | pub struct FrontMatter { [INFO] [stdout] | ----------- `FrontMatter` 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/lib/parser/frontmatter/field.rs:152:55 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Clone, Default, PartialEq, 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_FrontMatter` [INFO] [stdout] 153 | pub struct FrontMatter { [INFO] [stdout] | ----------- `FrontMatter` 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib/parser/parse/parse.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | fn new(text: &'a str) -> FirstPass { [INFO] [stdout] | ^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 294 | fn new(text: &'a str) -> FirstPass<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib/parser/parse/scanners.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) fn new(bytes: &[u8]) -> LineStart { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) fn new(bytes: &[u8]) -> LineStart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `lazy_static` [INFO] [stdout] --> src/bin/qua.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [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/lib/parser/frontmatter/field.rs:105:44 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Debug, Clone, Default, PartialEq, 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_Banner` [INFO] [stdout] 106 | pub struct Banner { [INFO] [stdout] | ------ `Banner` 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/lib/parser/frontmatter/field.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Debug, Clone, Default, PartialEq, 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_Banner` [INFO] [stdout] 106 | pub struct Banner { [INFO] [stdout] | ------ `Banner` 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/lib/parser/frontmatter/field.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Debug, Clone, PartialEq, 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_Render` [INFO] [stdout] 122 | pub struct Render { [INFO] [stdout] | ------ `Render` 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/lib/parser/frontmatter/field.rs:121:46 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Debug, Clone, PartialEq, 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_Render` [INFO] [stdout] 122 | pub struct Render { [INFO] [stdout] | ------ `Render` 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/lib/parser/frontmatter/field.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Clone, Default, PartialEq, 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_FrontMatter` [INFO] [stdout] 153 | pub struct FrontMatter { [INFO] [stdout] | ----------- `FrontMatter` 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/lib/parser/frontmatter/field.rs:152:55 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Debug, Clone, Default, PartialEq, 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_FrontMatter` [INFO] [stdout] 153 | pub struct FrontMatter { [INFO] [stdout] | ----------- `FrontMatter` 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib/parser/parse/parse.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | fn new(text: &'a str) -> FirstPass { [INFO] [stdout] | ^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 294 | fn new(text: &'a str) -> FirstPass<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib/parser/parse/scanners.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) fn new(bytes: &[u8]) -> LineStart { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) fn new(bytes: &[u8]) -> LineStart<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dirs` [INFO] [stdout] --> src/bin/qua.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dirs::home_dir; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `dirs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `getopts` [INFO] [stdout] --> src/bin/qua.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use getopts::{self, Options}; [INFO] [stdout] | ^^^^ no external crate `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tera` [INFO] [stdout] --> src/bin/qua.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tera::{Context, Tera}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `tera` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tera`, use `cargo add tera` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/bin/qua.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `lazy_static` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/bin/qua.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEMPLATES` in this scope [INFO] [stdout] --> src/bin/qua.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | TEMPLATES [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `lazy_static` [INFO] [stdout] --> src/bin/qua.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dirs` [INFO] [stdout] --> src/bin/qua.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | return dirs::home_dir(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `dirs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dirs` [INFO] [stdout] --> src/bin/qua.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dirs::home_dir().map(|mut h| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `dirs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quatrain` (bin "qua") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `dirs` [INFO] [stdout] --> src/bin/qua.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dirs::home_dir; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `dirs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `getopts` [INFO] [stdout] --> src/bin/qua.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use getopts::{self, Options}; [INFO] [stdout] | ^^^^ no external crate `getopts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tera` [INFO] [stdout] --> src/bin/qua.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tera::{Context, Tera}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `tera` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tera`, use `cargo add tera` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/bin/qua.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `lazy_static` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/bin/qua.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEMPLATES` in this scope [INFO] [stdout] --> src/bin/qua.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | TEMPLATES [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dirs` [INFO] [stdout] --> src/bin/qua.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | return dirs::home_dir(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `dirs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dirs` [INFO] [stdout] --> src/bin/qua.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | dirs::home_dir().map(|mut h| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `dirs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quatrain` (bin "qua" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "d7f3d3ea2242394125e1c3338f4c3f3821f605eeea7b17414c1401d3821aae66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7f3d3ea2242394125e1c3338f4c3f3821f605eeea7b17414c1401d3821aae66", kill_on_drop: false }` [INFO] [stdout] d7f3d3ea2242394125e1c3338f4c3f3821f605eeea7b17414c1401d3821aae66