[INFO] fetching crate quatrain 0.6.0... [INFO] testing quatrain-0.6.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 v0.7.5 [INFO] [stderr] Downloaded auto_enums_derive v0.7.5 [INFO] [stderr] Downloaded auto_enums_core v0.7.5 [INFO] [stderr] Downloaded serde_yaml v0.8.12 [INFO] [stderr] Downloaded derive_utils v0.10.0 [INFO] [stderr] Downloaded katex v0.2.1 [INFO] [stderr] Downloaded copy_dir v0.1.2 [INFO] [stderr] Downloaded quick-js v0.3.3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3263b703a16f6f66812f7159d884530670a900094ebd8bcbe991e191409d50e3 [INFO] running `Command { std: "docker" "start" "-a" "3263b703a16f6f66812f7159d884530670a900094ebd8bcbe991e191409d50e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3263b703a16f6f66812f7159d884530670a900094ebd8bcbe991e191409d50e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3263b703a16f6f66812f7159d884530670a900094ebd8bcbe991e191409d50e3", kill_on_drop: false }` [INFO] [stdout] 3263b703a16f6f66812f7159d884530670a900094ebd8bcbe991e191409d50e3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 48445b2a9f8898b3ce61eefdf1c7ae52c6cc87953e4c1b2bb820ffda61e99be3 [INFO] running `Command { std: "docker" "start" "-a" "48445b2a9f8898b3ce61eefdf1c7ae52c6cc87953e4c1b2bb820ffda61e99be3", 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 derive_builder v0.9.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling auto_enums_derive v0.7.5 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling yaml-rust v0.4.4 [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 walkdir v0.1.8 [INFO] [stderr] Compiling copy_dir v0.1.2 [INFO] [stderr] Compiling libquickjs-sys v0.6.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling quote v1.0.6 [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 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] 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 294 | fn new(text: &'a str) -> FirstPass<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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" "48445b2a9f8898b3ce61eefdf1c7ae52c6cc87953e4c1b2bb820ffda61e99be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48445b2a9f8898b3ce61eefdf1c7ae52c6cc87953e4c1b2bb820ffda61e99be3", kill_on_drop: false }` [INFO] [stdout] 48445b2a9f8898b3ce61eefdf1c7ae52c6cc87953e4c1b2bb820ffda61e99be3