[INFO] fetching crate lavish-compiler 0.4.0... [INFO] checking lavish-compiler-0.4.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate lavish-compiler 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate lavish-compiler 0.4.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lavish-compiler 0.4.0 [INFO] finished tweaking crates.io crate lavish-compiler 0.4.0 [INFO] tweaked toml for crates.io crate lavish-compiler 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding colored v1.9.4 (latest: v2.1.0) [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.5) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding lexical-core v0.7.6 (latest: v0.8.5) [INFO] [stderr] Adding nom v5.1.3 (latest: v7.1.3) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding simple-error v0.2.3 (latest: v0.3.1) [INFO] [stderr] Adding strip-ansi-escapes v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding vte v0.10.1 (latest: v0.13.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-error v0.2.3 [INFO] [stderr] Downloaded vte_generate_state_changes v0.1.2 [INFO] [stderr] Downloaded strip-ansi-escapes v0.1.1 [INFO] [stderr] Downloaded netbuf v0.4.1 [INFO] [stderr] Downloaded vte v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab78059db5e0241ebe814d5a55f9f6a498e54f473d747778dcccaf0065d05129 [INFO] running `Command { std: "docker" "start" "-a" "ab78059db5e0241ebe814d5a55f9f6a498e54f473d747778dcccaf0065d05129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab78059db5e0241ebe814d5a55f9f6a498e54f473d747778dcccaf0065d05129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab78059db5e0241ebe814d5a55f9f6a498e54f473d747778dcccaf0065d05129", kill_on_drop: false }` [INFO] [stdout] ab78059db5e0241ebe814d5a55f9f6a498e54f473d747778dcccaf0065d05129 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b15d85b6eb01ce7fa1c4eb488dabbe3997cd50738fa3d69581d8c0ec5e4b427b [INFO] running `Command { std: "docker" "start" "-a" "b15d85b6eb01ce7fa1c4eb488dabbe3997cd50738fa3d69581d8c0ec5e4b427b", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking simple-error v0.2.3 [INFO] [stderr] Checking netbuf v0.4.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking lavish-compiler v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `output::*` [INFO] [stdout] --> src/codegen/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use output::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) frames: Vec<&'a Frame>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) frames: Vec<&'a dyn Frame>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | writer: &'a mut fmt::Write, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | writer: &'a mut dyn fmt::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/lang.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | body: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | body: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/lang.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | body: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | body: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/types.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(frame: &'a Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(frame: &'a dyn Frame) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn push(&self, frame: &'a Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | pub fn push(&self, frame: &'a dyn Frame) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn for_each_fun(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | pub fn for_each_fun(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:280:44 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn for_each_struct(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 | pub fn for_each_struct(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:286:42 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn for_each_enum(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 286 | pub fn for_each_enum(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:292:47 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn for_each_namespace(&self, cb: &mut FnMut(Anchored<&NamespaceBody>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 292 | pub fn for_each_namespace(&self, cb: &mut dyn FnMut(Anchored<&NamespaceBody>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:298:51 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 298 | pub fn for_each_fun_of_schema(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:306:54 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 | pub fn for_each_struct_of_schema(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:316:52 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 316 | pub fn for_each_enum_of_schema(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:332:51 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 | pub fn for_each_fun_of_schema(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:341:54 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 341 | pub fn for_each_struct_of_schema(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:350:52 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 | pub fn for_each_enum_of_schema(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(writer: &'a mut fmt::Write) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(writer: &'a mut dyn fmt::Write) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn fmt(writer: &'a mut fmt::Write, f: F) -> std::fmt::Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn fmt(writer: &'a mut dyn fmt::Write, f: F) -> std::fmt::Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/protocol.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | fn for_each_fun(&self, cb: &mut FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | fn for_each_fun(&self, cb: &mut dyn FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `output::*` [INFO] [stdout] --> src/codegen/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use output::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/types.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 11 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) frames: Vec<&'a Frame>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) frames: Vec<&'a dyn Frame>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | writer: &'a mut fmt::Write, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | writer: &'a mut dyn fmt::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/lang.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | body: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | body: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/lang.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | body: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | body: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/types.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(frame: &'a Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(frame: &'a dyn Frame) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn push(&self, frame: &'a Frame) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | pub fn push(&self, frame: &'a dyn Frame) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn for_each_fun(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 274 | pub fn for_each_fun(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:280:44 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn for_each_struct(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 | pub fn for_each_struct(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:286:42 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn for_each_enum(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 286 | pub fn for_each_enum(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:292:47 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn for_each_namespace(&self, cb: &mut FnMut(Anchored<&NamespaceBody>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 292 | pub fn for_each_namespace(&self, cb: &mut dyn FnMut(Anchored<&NamespaceBody>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:298:51 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 298 | pub fn for_each_fun_of_schema(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:306:54 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 | pub fn for_each_struct_of_schema(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:316:52 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 316 | pub fn for_each_enum_of_schema(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:332:51 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn for_each_fun_of_schema(&self, cb: &mut FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 | pub fn for_each_fun_of_schema(&self, cb: &mut dyn FnMut(Anchored<&FunctionDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:341:54 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn for_each_struct_of_schema(&self, cb: &mut FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 341 | pub fn for_each_struct_of_schema(&self, cb: &mut dyn FnMut(Anchored<&StructDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/anchored.rs:350:52 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn for_each_enum_of_schema(&self, cb: &mut FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 | pub fn for_each_enum_of_schema(&self, cb: &mut dyn FnMut(Anchored<&EnumDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(writer: &'a mut fmt::Write) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(writer: &'a mut dyn fmt::Write) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/output.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn fmt(writer: &'a mut fmt::Write, f: F) -> std::fmt::Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn fmt(writer: &'a mut dyn fmt::Write, f: F) -> std::fmt::Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/protocol.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | fn for_each_fun(&self, cb: &mut FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | fn for_each_fun(&self, cb: &mut dyn FnMut(ast::Anchored<&ast::FunctionDecl>)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codegen/rust/ir/types.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 11 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn as_rust<'a>(&'a self, stack: &'a ast::Stack<'a>) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loc` is never read [INFO] [stdout] --> src/ast/nodes.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Rules { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | pub loc: Span, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rules` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `from` is never read [INFO] [stdout] --> src/ast/nodes.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Build { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 30 | pub name: Identifier, [INFO] [stdout] 31 | pub from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Build` 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: field `path` is never read [INFO] [stdout] --> src/ast/nodes.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct FromDirective { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 36 | pub path: StringLiteral, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromDirective` 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: fields `loc` and `value` are never read [INFO] [stdout] --> src/ast/nodes.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct StringLiteral { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 41 | pub loc: Span, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringLiteral` 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: fields `build` and `imports` are never read [INFO] [stdout] --> src/ast/nodes.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct WorkspaceMember { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 122 | pub name: String, [INFO] [stdout] 123 | pub build: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 124 | pub imports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkspaceMember` 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: field `imports` is never read [INFO] [stdout] --> src/ast/nodes.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Schema { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 130 | pub loc: Span, [INFO] [stdout] 131 | pub imports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` 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: fields `name` and `from` are never read [INFO] [stdout] --> src/ast/nodes.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Import { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 143 | pub name: Identifier, [INFO] [stdout] | ^^^^ [INFO] [stdout] 144 | pub from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` 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: field `loc` is never read [INFO] [stdout] --> src/ast/nodes.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct EnumDecl { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 346 | pub loc: Span, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumDecl` 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: field `loc` is never read [INFO] [stdout] --> src/ast/nodes.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 353 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 354 | pub loc: Span, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` 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: field `0` is never read [INFO] [stdout] --> src/ast/anchored.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Schema(&'a Schema), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | Schema(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/anchored.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | Namespace(&'a NamespaceDecl), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Namespace(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/anchored.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | Function(&'a FunctionDecl), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | Function(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/anchored.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | Synthetic(&'a SyntheticFrame), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Synthetic(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `slot`, `Params`, `Results`, `Client`, and `Handler` are never used [INFO] [stdout] --> src/codegen/rust/ir/ast_ext.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait RustFn { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 83 | fn slot(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn Params(&self, stack: &ast::Stack) -> String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 89 | fn Results(&self, stack: &ast::Stack) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | fn Client(&self, stack: &ast::Stack) -> String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | fn Handler(&self, stack: &ast::Stack) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `side` is never read [INFO] [stdout] --> src/codegen/rust/ir/client.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Client<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub side: ast::Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/errors.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | Unknown(UnknownError), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loc` is never read [INFO] [stdout] --> src/ast/nodes.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Rules { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | pub loc: Span, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rules` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `from` is never read [INFO] [stdout] --> src/ast/nodes.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Build { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 30 | pub name: Identifier, [INFO] [stdout] 31 | pub from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Build` 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: field `path` is never read [INFO] [stdout] --> src/ast/nodes.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct FromDirective { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 36 | pub path: StringLiteral, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromDirective` 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: fields `loc` and `value` are never read [INFO] [stdout] --> src/ast/nodes.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct StringLiteral { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 41 | pub loc: Span, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringLiteral` 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: fields `build` and `imports` are never read [INFO] [stdout] --> src/ast/nodes.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct WorkspaceMember { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 122 | pub name: String, [INFO] [stdout] 123 | pub build: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 124 | pub imports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkspaceMember` 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: field `imports` is never read [INFO] [stdout] --> src/ast/nodes.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Schema { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 130 | pub loc: Span, [INFO] [stdout] 131 | pub imports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` 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: fields `name` and `from` are never read [INFO] [stdout] --> src/ast/nodes.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Import { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 143 | pub name: Identifier, [INFO] [stdout] | ^^^^ [INFO] [stdout] 144 | pub from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` 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: field `loc` is never read [INFO] [stdout] --> src/ast/nodes.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct EnumDecl { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 346 | pub loc: Span, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumDecl` 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: field `loc` is never read [INFO] [stdout] --> src/ast/nodes.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 353 | pub struct EnumVariant { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 354 | pub loc: Span, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumVariant` 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: field `0` is never read [INFO] [stdout] --> src/ast/anchored.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Schema(&'a Schema), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | Schema(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/anchored.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | Namespace(&'a NamespaceDecl), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Namespace(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/anchored.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | Function(&'a FunctionDecl), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | Function(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/anchored.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | Synthetic(&'a SyntheticFrame), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Synthetic(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `slot`, `Params`, `Results`, `Client`, and `Handler` are never used [INFO] [stdout] --> src/codegen/rust/ir/ast_ext.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub trait RustFn { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 83 | fn slot(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn Params(&self, stack: &ast::Stack) -> String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 89 | fn Results(&self, stack: &ast::Stack) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | fn Client(&self, stack: &ast::Stack) -> String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | fn Handler(&self, stack: &ast::Stack) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `side` is never read [INFO] [stdout] --> src/codegen/rust/ir/client.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Client<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | pub side: ast::Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/errors.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | Unknown(UnknownError), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.36s [INFO] running `Command { std: "docker" "inspect" "b15d85b6eb01ce7fa1c4eb488dabbe3997cd50738fa3d69581d8c0ec5e4b427b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b15d85b6eb01ce7fa1c4eb488dabbe3997cd50738fa3d69581d8c0ec5e4b427b", kill_on_drop: false }` [INFO] [stdout] b15d85b6eb01ce7fa1c4eb488dabbe3997cd50738fa3d69581d8c0ec5e4b427b