[INFO] cloning repository https://github.com/Luis-omega/Lambda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luis-omega/Lambda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuis-omega%2FLambda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuis-omega%2FLambda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63b0ce1bf57444c14480f44974b249bceccbec4e [INFO] checking Luis-omega/Lambda against try#78c81ee3917a99dcff6e2e6822800f0492c415c3 for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuis-omega%2FLambda" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Luis-omega/Lambda [INFO] finished tweaking git repo https://github.com/Luis-omega/Lambda [INFO] tweaked toml for git repo https://github.com/Luis-omega/Lambda written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Luis-omega/Lambda on toolchain 78c81ee3917a99dcff6e2e6822800f0492c415c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Luis-omega/Lambda 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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Luis-omega/Lambda against try#78c81ee3917a99dcff6e2e6822800f0492c415c3 for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuis-omega%2FLambda" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Luis-omega/Lambda [INFO] finished tweaking git repo https://github.com/Luis-omega/Lambda [INFO] tweaked toml for git repo https://github.com/Luis-omega/Lambda written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Luis-omega/Lambda on toolchain 78c81ee3917a99dcff6e2e6822800f0492c415c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Luis-omega/Lambda 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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89a70bc851ea2c61dcf2beec22b015c28b734b403f5fa75744886ffced318245 [INFO] running `Command { std: "docker" "start" "-a" "89a70bc851ea2c61dcf2beec22b015c28b734b403f5fa75744886ffced318245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89a70bc851ea2c61dcf2beec22b015c28b734b403f5fa75744886ffced318245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a70bc851ea2c61dcf2beec22b015c28b734b403f5fa75744886ffced318245", kill_on_drop: false }` [INFO] [stdout] 89a70bc851ea2c61dcf2beec22b015c28b734b403f5fa75744886ffced318245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f04de62f7cf9c1495e124553f57370edbe931e44df3885ba7ce61c10744e68d [INFO] running `Command { std: "docker" "start" "-a" "0f04de62f7cf9c1495e124553f57370edbe931e44df3885ba7ce61c10744e68d", kill_on_drop: false }` [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking lambda v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/compiler/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `anyhow` [INFO] [stdout] --> src/compiler/compiler.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/compiler/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::types` [INFO] [stdout] --> src/core/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/core/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `contextType` should have an upper camel case name [INFO] [stdout] --> src/core/types.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | trait ContextInterface { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `ContextType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `anyhow` [INFO] [stdout] --> src/compiler/compiler.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `valuesType` should have an upper camel case name [INFO] [stdout] --> src/core/types.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | trait ContextInterface { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `ValuesType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::types` [INFO] [stdout] --> src/core/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pretty::configuration::PrettifierConfiguration` [INFO] [stdout] --> src/formatter/formatter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::pretty::configuration::PrettifierConfiguration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pretty::types::SimpleDocument` [INFO] [stdout] --> src/formatter/formatter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pretty::types::SimpleDocument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/core/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SimpleDocument` [INFO] [stdout] --> src/pretty/pretty.rs:289:62 [INFO] [stdout] | [INFO] [stdout] 289 | use crate::pretty::types::{Document, NoLineBreaksString, SimpleDocument}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `contextType` should have an upper camel case name [INFO] [stdout] --> src/core/types.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | trait ContextInterface { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `ContextType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `valuesType` should have an upper camel case name [INFO] [stdout] --> src/core/types.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | trait ContextInterface { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `ValuesType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pretty::configuration::PrettifierConfiguration` [INFO] [stdout] --> src/formatter/formatter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::pretty::configuration::PrettifierConfiguration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pretty::types::SimpleDocument` [INFO] [stdout] --> src/formatter/formatter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pretty::types::SimpleDocument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `console_input` [INFO] [stdout] --> src/arguments_parser.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse_arguments(console_input: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_console_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `console_input` [INFO] [stdout] --> src/arguments_parser.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse_arguments(console_input: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_console_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pretty/pretty.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut remain = render_simple_document(*remain); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pretty/pretty.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut result = render_simple_document(*remain); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pretty/pretty.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut prefix = " ".repeat(usize::from(nl)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pretty/pretty.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut remain = render_simple_document(*remain); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pretty/pretty.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut result = render_simple_document(*remain); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pretty/pretty.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut prefix = " ".repeat(usize::from(nl)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Run`, `Documentation`, and `Format` are never constructed [INFO] [stdout] --> src/arguments_parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ParsedConfiguration { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 12 | Compile(CompilerConfiguration), [INFO] [stdout] 13 | Run(RunConfiguration), [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | Documentation(DocumentationConfiguration), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | Format(FormatterConfiguration), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `invocation_path` is never read [INFO] [stdout] --> src/common_configuration.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CommonConfiguration { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 5 | pub invocation_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParsedFile` is never used [INFO] [stdout] --> src/compiler/compiler.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ParsedFile {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `report_error` is never used [INFO] [stdout] --> src/compiler/compiler.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn report_error() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `common`, `paths_to_compile`, and `output_folder` are never read [INFO] [stdout] --> src/compiler/configuration.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CompilerConfiguration { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 6 | pub common: CommonConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | //Those can be files or directories [INFO] [stdout] 8 | pub paths_to_compile: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub output_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Label` is never constructed [INFO] [stdout] --> src/core/types.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Label(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MakeLabelError` is never constructed [INFO] [stdout] --> src/core/types.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MakeLabelError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make` is never used [INFO] [stdout] --> src/core/types.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Label { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | pub fn make(s: String) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Identifier` is never constructed [INFO] [stdout] --> src/core/types.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Identifier(String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MakeIdentifierError` is never constructed [INFO] [stdout] --> src/core/types.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MakeIdentifierError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make` is never used [INFO] [stdout] --> src/core/types.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Identifier { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 22 | pub fn make(s: String) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MakeRecordError` is never constructed [INFO] [stdout] --> src/core/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MakeRecordError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Record` is never constructed [INFO] [stdout] --> src/core/types.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Record(Vec<(Label, T)>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make` is never used [INFO] [stdout] --> src/core/types.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Record { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 33 | pub fn make(v: Vec<(Label, T)>) -> Result, MakeRecordError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unsafe_make_record` is never used [INFO] [stdout] --> src/core/types.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn unsafe_make_record(v: Vec<(Label, T)>) -> Record { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/core/types.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaseAlternative` is never constructed [INFO] [stdout] --> src/core/types.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct CaseAlternative { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Term` is never used [INFO] [stdout] --> src/core/types.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum Term { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ContextInterface` is never used [INFO] [stdout] --> src/core/types.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | trait ContextInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalContext` is never constructed [INFO] [stdout] --> src/core/types.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct LocalContext(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExternalContext` is never constructed [INFO] [stdout] --> src/core/types.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ExternalContext(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleContext` is never constructed [INFO] [stdout] --> src/core/types.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct ModuleContext(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/core/types.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Context<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `common` and `output_folder` are never read [INFO] [stdout] --> src/documentation/configuration.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DocumentationConfiguration { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 7 | pub common: CommonConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub output_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentationConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ToFolder`, `ToStdout`, and `InPace` are never constructed [INFO] [stdout] --> src/formatter/configuration.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum FormatterOutput { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 6 | ToFolder(PathBuf), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | ToStdout, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | InPace, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatterOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `common`, `line_width`, `indentation_length`, and `output_place` are never read [INFO] [stdout] --> src/formatter/configuration.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FormatterConfiguration { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 13 | pub common: CommonConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub line_width: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub indentation_length: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub output_place: FormatterOutput, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatterConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty` is never used [INFO] [stdout] --> src/pretty/combinators.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn empty<'a>() -> Document<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat` is never used [INFO] [stdout] --> src/pretty/combinators.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn concat<'a>(d1: Document<'a>, d2: Document<'a>) -> Document<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat_vec` is never used [INFO] [stdout] --> src/pretty/combinators.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn concat_vec<'a>(docs: Vec>) -> Document<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text` is never used [INFO] [stdout] --> src/pretty/combinators.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn text<'a>(s: NoLineBreaksString<'a>) -> Document<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nest` is never used [INFO] [stdout] --> src/pretty/combinators.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn nest<'a>(ident: u16, d: Document<'a>) -> Document<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `break_` is never used [INFO] [stdout] --> src/pretty/combinators.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn break_<'a>(s: NoLineBreaksString<'a>) -> Document<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group` is never used [INFO] [stdout] --> src/pretty/combinators.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn group<'a>(d: Document<'a>) -> Document<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_str` is never used [INFO] [stdout] --> src/pretty/combinators.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from_str<'a>(s: &'a str) -> Document<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrettifierConfiguration` is never constructed [INFO] [stdout] --> src/pretty/configuration.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct PrettifierConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_simple_document` is never used [INFO] [stdout] --> src/pretty/pretty.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn render_simple_document<'a>(document: SimpleDocument<'a>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mode` is never used [INFO] [stdout] --> src/pretty/pretty.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FitsParam` is never constructed [INFO] [stdout] --> src/pretty/pretty.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct FitsParam<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fits` is never used [INFO] [stdout] --> src/pretty/pretty.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn fits(remain_width: Option, param: &mut Vec) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `document_to_simple_document_aux` is never used [INFO] [stdout] --> src/pretty/pretty.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn document_to_simple_document_aux<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `document_to_simple_document` is never used [INFO] [stdout] --> src/pretty/pretty.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn document_to_simple_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/pretty/pretty.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prettify` is never used [INFO] [stdout] --> src/pretty/pretty.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn prettify( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoLineBreaksString` is never constructed [INFO] [stdout] --> src/pretty/types.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct NoLineBreaksString<'a>(&'a str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `make`, `decompose`, and `unwrap` are never used [INFO] [stdout] --> src/pretty/types.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl<'a> NoLineBreaksString<'a> { [INFO] [stdout] | ------------------------------- associated functions in this implementation [INFO] [stdout] 5 | pub fn make(s: &'a str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn decompose(s: &'a str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn unwrap(s: NoLineBreaksString) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Document` is never used [INFO] [stdout] --> src/pretty/types.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Document<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SimpleDocument` is never used [INFO] [stdout] --> src/pretty/types.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum SimpleDocument<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Pretty` is never used [INFO] [stdout] --> src/pretty/types.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait Pretty { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `common` and `output_folder` are never read [INFO] [stdout] --> src/run/configuration.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RunConfiguration { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 6 | pub common: CommonConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub output_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Run`, `Documentation`, and `Format` are never constructed [INFO] [stdout] --> src/arguments_parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ParsedConfiguration { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 12 | Compile(CompilerConfiguration), [INFO] [stdout] 13 | Run(RunConfiguration), [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | Documentation(DocumentationConfiguration), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | Format(FormatterConfiguration), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `invocation_path` is never read [INFO] [stdout] --> src/common_configuration.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CommonConfiguration { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 5 | pub invocation_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParsedFile` is never used [INFO] [stdout] --> src/compiler/compiler.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ParsedFile {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `report_error` is never used [INFO] [stdout] --> src/compiler/compiler.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn report_error() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `common`, `paths_to_compile`, and `output_folder` are never read [INFO] [stdout] --> src/compiler/configuration.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CompilerConfiguration { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 6 | pub common: CommonConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | //Those can be files or directories [INFO] [stdout] 8 | pub paths_to_compile: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub output_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Label` is never constructed [INFO] [stdout] --> src/core/types.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Label(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MakeLabelError` is never constructed [INFO] [stdout] --> src/core/types.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MakeLabelError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make` is never used [INFO] [stdout] --> src/core/types.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Label { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | pub fn make(s: String) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Identifier` is never constructed [INFO] [stdout] --> src/core/types.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Identifier(String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MakeIdentifierError` is never constructed [INFO] [stdout] --> src/core/types.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MakeIdentifierError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make` is never used [INFO] [stdout] --> src/core/types.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Identifier { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 22 | pub fn make(s: String) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MakeRecordError` is never constructed [INFO] [stdout] --> src/core/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MakeRecordError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Record` is never constructed [INFO] [stdout] --> src/core/types.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Record(Vec<(Label, T)>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make` is never used [INFO] [stdout] --> src/core/types.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Record { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 33 | pub fn make(v: Vec<(Label, T)>) -> Result, MakeRecordError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unsafe_make_record` is never used [INFO] [stdout] --> src/core/types.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn unsafe_make_record(v: Vec<(Label, T)>) -> Record { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/core/types.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaseAlternative` is never constructed [INFO] [stdout] --> src/core/types.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct CaseAlternative { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Term` is never used [INFO] [stdout] --> src/core/types.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum Term { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ContextInterface` is never used [INFO] [stdout] --> src/core/types.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | trait ContextInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalContext` is never constructed [INFO] [stdout] --> src/core/types.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct LocalContext(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExternalContext` is never constructed [INFO] [stdout] --> src/core/types.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ExternalContext(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleContext` is never constructed [INFO] [stdout] --> src/core/types.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct ModuleContext(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/core/types.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Context<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `common` and `output_folder` are never read [INFO] [stdout] --> src/documentation/configuration.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DocumentationConfiguration { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 7 | pub common: CommonConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub output_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentationConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ToFolder`, `ToStdout`, and `InPace` are never constructed [INFO] [stdout] --> src/formatter/configuration.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum FormatterOutput { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 6 | ToFolder(PathBuf), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | ToStdout, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | InPace, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatterOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `common`, `line_width`, `indentation_length`, and `output_place` are never read [INFO] [stdout] --> src/formatter/configuration.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FormatterConfiguration { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 13 | pub common: CommonConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub line_width: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub indentation_length: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub output_place: FormatterOutput, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatterConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concat_vec` is never used [INFO] [stdout] --> src/pretty/combinators.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn concat_vec<'a>(docs: Vec>) -> Document<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prettify` is never used [INFO] [stdout] --> src/pretty/pretty.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn prettify( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Pretty` is never used [INFO] [stdout] --> src/pretty/types.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait Pretty { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `common` and `output_folder` are never read [INFO] [stdout] --> src/run/configuration.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RunConfiguration { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 6 | pub common: CommonConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub output_folder: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pretty/types.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn make(s: &'a str) -> Result { [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] 5 | pub fn make(s: &'a str) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pretty/types.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unwrap(s: NoLineBreaksString) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 21 | pub fn unwrap(s: NoLineBreaksString<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pretty/types.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_document(&self) -> Document; [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] 54 | fn to_document(&self) -> Document<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pretty/types.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn make(s: &'a str) -> Result { [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] 5 | pub fn make(s: &'a str) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pretty/types.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unwrap(s: NoLineBreaksString) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden 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] 21 | pub fn unwrap(s: NoLineBreaksString<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pretty/types.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_document(&self) -> Document; [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] 54 | fn to_document(&self) -> Document<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "0f04de62f7cf9c1495e124553f57370edbe931e44df3885ba7ce61c10744e68d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f04de62f7cf9c1495e124553f57370edbe931e44df3885ba7ce61c10744e68d", kill_on_drop: false }` [INFO] [stdout] 0f04de62f7cf9c1495e124553f57370edbe931e44df3885ba7ce61c10744e68d