[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] building Luis-omega/Lambda against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuis-omega%2FLambda" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luis-omega/Lambda on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d868ce0698a9a71947ba5b6430b6584fb26bedd4448207cf63571bc633129e0 [INFO] running `Command { std: "docker" "start" "-a" "5d868ce0698a9a71947ba5b6430b6584fb26bedd4448207cf63571bc633129e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d868ce0698a9a71947ba5b6430b6584fb26bedd4448207cf63571bc633129e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d868ce0698a9a71947ba5b6430b6584fb26bedd4448207cf63571bc633129e0", kill_on_drop: false }` [INFO] [stdout] 5d868ce0698a9a71947ba5b6430b6584fb26bedd4448207cf63571bc633129e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c1bf2c5d03aea24fd2ccc523a508483526bb5fe58c3599727506b23d6ba305f [INFO] running `Command { std: "docker" "start" "-a" "5c1bf2c5d03aea24fd2ccc523a508483526bb5fe58c3599727506b23d6ba305f", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling 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)]` 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: `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)]` 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: elided lifetime has a name [INFO] [stdout] --> src/pretty/types.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 4 | impl<'a> NoLineBreaksString<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 5 | pub fn make(s: &'a str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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)]` 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)]` 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)]` 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] = note: `ParsedFile` 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 `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: 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 `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: 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: multiple variants are never constructed [INFO] [stdout] --> src/core/types.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 47 | Uint, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | Variable(u64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | ExternalVariable(Identifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | Forall(u64, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | Arrow(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | Record(Record), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | Recursive(u64, Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | Application(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | Sum(Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/core/types.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum Term { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 78 | Uint(u64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | Variable(u64, Type), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 81 | ExternalVariable(Identifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | GlobalVariable(Identifier, Type), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 83 | TermFunction(Box, Type), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 84 | Application(Box, Box, Type), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | Record(Record, Type), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | Tuple(Vec, Type), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | Case(Box, Vec, Type), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Term` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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: 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: variants `Empty`, `Concat`, `Text`, `Nest`, `Break`, and `Group` are never constructed [INFO] [stdout] --> src/pretty/types.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Document<'a> { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 38 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | Concat(Box>, Box>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | Text(NoLineBreaksString<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | Nest(u16, Box>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | Break(NoLineBreaksString<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | Group(Box>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Document` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty`, `Text`, and `Line` are never constructed [INFO] [stdout] --> src/pretty/types.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum SimpleDocument<'a> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 48 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | Text(NoLineBreaksString<'a>, Box>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | Line(u16, Box>), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleDocument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "5c1bf2c5d03aea24fd2ccc523a508483526bb5fe58c3599727506b23d6ba305f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1bf2c5d03aea24fd2ccc523a508483526bb5fe58c3599727506b23d6ba305f", kill_on_drop: false }` [INFO] [stdout] 5c1bf2c5d03aea24fd2ccc523a508483526bb5fe58c3599727506b23d6ba305f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb96c8e1be54d68b558190d66f3f4b009fbd5f696b14ef01b37405090a5ad068 [INFO] running `Command { std: "docker" "start" "-a" "bb96c8e1be54d68b558190d66f3f4b009fbd5f696b14ef01b37405090a5ad068", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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: `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)]` 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 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: elided lifetime has a name [INFO] [stdout] --> src/pretty/types.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 4 | impl<'a> NoLineBreaksString<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 5 | pub fn make(s: &'a str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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)]` 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)]` 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)]` 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] = note: `ParsedFile` 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 `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: 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 `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: 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: multiple variants are never constructed [INFO] [stdout] --> src/core/types.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 47 | Uint, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | Variable(u64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | ExternalVariable(Identifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | Forall(u64, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | Arrow(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | Record(Record), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | Recursive(u64, Box), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | Application(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | Sum(Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/core/types.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum Term { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 78 | Uint(u64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | Variable(u64, Type), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 81 | ExternalVariable(Identifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | GlobalVariable(Identifier, Type), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 83 | TermFunction(Box, Type), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 84 | Application(Box, Box, Type), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | Record(Record, Type), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | Tuple(Vec, Type), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | Case(Box, Vec, Type), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Term` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "bb96c8e1be54d68b558190d66f3f4b009fbd5f696b14ef01b37405090a5ad068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb96c8e1be54d68b558190d66f3f4b009fbd5f696b14ef01b37405090a5ad068", kill_on_drop: false }` [INFO] [stdout] bb96c8e1be54d68b558190d66f3f4b009fbd5f696b14ef01b37405090a5ad068