[INFO] fetching crate quatrain 0.6.0... [INFO] testing quatrain-0.6.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate quatrain 0.6.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate quatrain 0.6.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.18 [INFO] [stderr] Downloaded version_check v0.9.2 [INFO] [stderr] Downloaded tera v1.3.0 [INFO] [stderr] Downloaded auto_enums v0.7.5 [INFO] [stderr] Downloaded auto_enums_core v0.7.5 [INFO] [stderr] Downloaded anyhow v1.0.31 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded ryu v1.0.5 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded base64 v0.11.0 [INFO] [stderr] Downloaded arrayvec v0.5.1 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded bstr v0.2.13 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded serde v1.0.111 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded rust-argon2 v0.7.0 [INFO] [stderr] Downloaded darling_core v0.10.2 [INFO] [stderr] Downloaded katex v0.2.1 [INFO] [stderr] Downloaded derive_builder v0.9.0 [INFO] [stderr] Downloaded yaml-rust v0.4.4 [INFO] [stderr] Downloaded serde_yaml v0.8.12 [INFO] [stderr] Downloaded quick-js v0.3.3 [INFO] [stderr] Downloaded crossbeam-utils v0.7.2 [INFO] [stderr] Downloaded ignore v0.4.16 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded pest_meta v2.1.3 [INFO] [stderr] Downloaded pest_derive v2.1.0 [INFO] [stderr] Downloaded itoa v0.4.5 [INFO] [stderr] Downloaded auto_enums_derive v0.7.5 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded blake2b_simd v0.5.10 [INFO] [stderr] Downloaded redox_users v0.3.4 [INFO] [stderr] Downloaded dirs-sys v0.3.4 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded strsim v0.9.3 [INFO] [stderr] Downloaded darling v0.10.2 [INFO] [stderr] Downloaded derive_builder_core v0.9.0 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded walkdir v0.1.8 [INFO] [stderr] Downloaded copy_dir v0.1.2 [INFO] [stderr] Downloaded once_cell v1.4.0 [INFO] [stderr] Downloaded dtoa v0.4.5 [INFO] [stderr] Downloaded linked-hash-map v0.5.3 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded globset v0.4.5 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded globwalk v0.8.0 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded pest_generator v2.1.3 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded syn v1.0.30 [INFO] [stderr] Downloaded derive_utils v0.10.0 [INFO] [stderr] Downloaded derive-new v0.5.8 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] [stderr] Downloaded darling_macro v0.10.2 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded maplit v1.0.2 [INFO] [stderr] Downloaded cc v1.0.54 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded thiserror v1.0.19 [INFO] [stderr] Downloaded unicase v2.6.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.19 [INFO] [stderr] Downloaded libquickjs-sys v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a299ae30b1a80bc4d99d41a8db9cec8412288685961dda78c46c1835376e6749 [INFO] running `Command { std: "docker" "start" "-a" "a299ae30b1a80bc4d99d41a8db9cec8412288685961dda78c46c1835376e6749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a299ae30b1a80bc4d99d41a8db9cec8412288685961dda78c46c1835376e6749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a299ae30b1a80bc4d99d41a8db9cec8412288685961dda78c46c1835376e6749", kill_on_drop: false }` [INFO] [stdout] a299ae30b1a80bc4d99d41a8db9cec8412288685961dda78c46c1835376e6749 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb615906ef92cfb312cecd6e5089933c33b27d4b4712672d31885abe6f340289 [INFO] running `Command { std: "docker" "start" "-a" "cb615906ef92cfb312cecd6e5089933c33b27d4b4712672d31885abe6f340289", 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 strsim v0.9.3 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling auto_enums_derive v0.7.5 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [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] Compiling 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] Compiling time v0.1.43 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling derive_utils v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling auto_enums_core v0.7.5 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling auto_enums v0.7.5 [INFO] [stderr] Compiling 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] Compiling serde_yaml v0.8.12 [INFO] [stderr] Compiling quick-js v0.3.3 [INFO] [stderr] Compiling katex v0.2.1 [INFO] [stderr] Compiling 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: 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:30 [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] 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") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "cb615906ef92cfb312cecd6e5089933c33b27d4b4712672d31885abe6f340289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb615906ef92cfb312cecd6e5089933c33b27d4b4712672d31885abe6f340289", kill_on_drop: false }` [INFO] [stdout] cb615906ef92cfb312cecd6e5089933c33b27d4b4712672d31885abe6f340289