[INFO] cloning repository https://github.com/JagritGumber/gem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JagritGumber/gem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJagritGumber%2Fgem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJagritGumber%2Fgem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e0c3e35334b6a018f442feae289943339185cf2 [INFO] checking JagritGumber/gem against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJagritGumber%2Fgem" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JagritGumber/gem [INFO] finished tweaking git repo https://github.com/JagritGumber/gem [INFO] tweaked toml for git repo https://github.com/JagritGumber/gem written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JagritGumber/gem on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JagritGumber/gem 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" "+f70ee28831acc074c109afab32d287057c3eca46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gl v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 866d1362e072e760b855c79f31d233f4dbb12e8d0c10357fb77ee3df793e94c8 [INFO] running `Command { std: "docker" "start" "-a" "866d1362e072e760b855c79f31d233f4dbb12e8d0c10357fb77ee3df793e94c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "866d1362e072e760b855c79f31d233f4dbb12e8d0c10357fb77ee3df793e94c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866d1362e072e760b855c79f31d233f4dbb12e8d0c10357fb77ee3df793e94c8", kill_on_drop: false }` [INFO] [stdout] 866d1362e072e760b855c79f31d233f4dbb12e8d0c10357fb77ee3df793e94c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68e68ddd7770161c663532e35cc93c262aa874633285eb513667e2196174a5e9 [INFO] running `Command { std: "docker" "start" "-a" "68e68ddd7770161c663532e35cc93c262aa874633285eb513667e2196174a5e9", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking wayland-sys v0.31.7 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking glutin v0.32.3 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking winit v0.30.12 [INFO] [stderr] Checking glutin-winit v0.5.0 [INFO] [stderr] Checking gem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/codegen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedProperty` [INFO] [stdout] --> src/transformer.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ir::{NodeId, SceneIR, TypedProperty}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/codegen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedProperty` [INFO] [stdout] --> src/transformer.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ir::{NodeId, SceneIR, TypedProperty}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut renderer = GemRenderer::new(&display); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `If` and `Call` are never constructed [INFO] [stdout] --> src/ast.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 67 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 72 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodSig` is never constructed [INFO] [stdout] --> src/ir.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MethodSig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignalDecl` is never constructed [INFO] [stdout] --> src/ir.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SignalDecl { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PropertyDecl` is never constructed [INFO] [stdout] --> src/ir.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PropertyDecl { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassDecl` is never constructed [INFO] [stdout] --> src/ir.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ClassDecl { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ir.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct NodeIR { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 46 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeIR` 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: methods `get_path` and `find_by_path` are never used [INFO] [stdout] --> src/ir.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl SceneIR { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_path(&self, node: NodeId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn find_by_path(&self, path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `connect` is never used [INFO] [stdout] --> src/object.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl ObjectRef { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn connect(&self, signal: &str, callback: Arc) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> src/parser.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn peek(&self, offset: usize) -> Option<&Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ir` and `generated_path` are never read [INFO] [stdout] --> src/pipeline.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SceneCompileResult { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | pub ast: ast::GemFile, [INFO] [stdout] 12 | pub ir: SceneIR, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub generated_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_rust_type_mut` is never used [INFO] [stdout] --> src/property_type.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PropertyType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn to_rust_type_mut(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float` and `Map` are never constructed [INFO] [stdout] --> src/value.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Map(HashMap), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_object` and `as_array_mut` are never used [INFO] [stdout] --> src/value.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 34 | pub fn as_object(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn as_array_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut renderer = GemRenderer::new(&display); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `If` and `Call` are never constructed [INFO] [stdout] --> src/ast.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 67 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 72 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_KEY` is never used [INFO] [stdout] --> src/gem.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NAME_KEY: &str = "name"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GemPrivate` is never constructed [INFO] [stdout] --> src/gem.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct GemPrivate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GEM_PRIV` is never used [INFO] [stdout] --> src/gem.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static GEM_PRIV: OnceLock>> = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priv_map` is never used [INFO] [stdout] --> src/gem.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn priv_map() -> &'static RwLock> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_priv_for` is never used [INFO] [stdout] --> src/gem.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn init_priv_for(node: &ObjectRef) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_priv` is never used [INFO] [stdout] --> src/gem.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn with_priv(node: &ObjectRef, f: impl FnOnce(&mut GemPrivate) -> R) -> R { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_priv` is never used [INFO] [stdout] --> src/gem.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn read_priv(node: &ObjectRef, f: impl FnOnce(&GemPrivate) -> R) -> R { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_gem_class` is never used [INFO] [stdout] --> src/gem.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn init_gem_class() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_in_tree` is never used [INFO] [stdout] --> src/gem.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn is_in_tree(node: &ObjectRef) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `root_of` is never used [INFO] [stdout] --> src/gem.rs:322:4 [INFO] [stdout] | [INFO] [stdout] 322 | fn root_of(node: &ObjectRef) -> ObjectRef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_path` is never used [INFO] [stdout] --> src/gem.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | fn get_path(node: &ObjectRef) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_path_to` is never used [INFO] [stdout] --> src/gem.rs:354:4 [INFO] [stdout] | [INFO] [stdout] 354 | fn get_path_to(from: &ObjectRef, to: &ObjectRef) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node_by_path` is never used [INFO] [stdout] --> src/gem.rs:365:4 [INFO] [stdout] | [INFO] [stdout] 365 | fn get_node_by_path(from: &ObjectRef, path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enter_tree_recursive` is never used [INFO] [stdout] --> src/gem.rs:399:4 [INFO] [stdout] | [INFO] [stdout] 399 | fn enter_tree_recursive(node: &ObjectRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exit_tree_recursive` is never used [INFO] [stdout] --> src/gem.rs:408:4 [INFO] [stdout] | [INFO] [stdout] 408 | fn exit_tree_recursive(node: &ObjectRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodSig` is never constructed [INFO] [stdout] --> src/ir.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MethodSig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignalDecl` is never constructed [INFO] [stdout] --> src/ir.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SignalDecl { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PropertyDecl` is never constructed [INFO] [stdout] --> src/ir.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PropertyDecl { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassDecl` is never constructed [INFO] [stdout] --> src/ir.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ClassDecl { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/ir.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct NodeIR { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 46 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeIR` 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: methods `set_property`, `get_path`, and `find_by_path` are never used [INFO] [stdout] --> src/ir.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl SceneIR { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn set_property(&mut self, node: NodeId, key: impl Into, value: impl Into) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_path(&self, node: NodeId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn find_by_path(&self, path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OBJECT_ID_COUNTER` is never used [INFO] [stdout] --> src/object.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | static OBJECT_ID_COUNTER: AtomicU64 = AtomicU64::new(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLASS_REGISTRY` is never used [INFO] [stdout] --> src/object.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | static CLASS_REGISTRY: OnceLock ObjectRef>>> = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `registry` is never used [INFO] [stdout] --> src/object.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn registry() -> &'static RwLock ObjectRef>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_class` is never used [INFO] [stdout] --> src/object.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn register_class(name: &str, ctor: fn() -> ObjectRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `object_new` is never used [INFO] [stdout] --> src/object.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn object_new(class_name: &str) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `methods` and `signals` are never read [INFO] [stdout] --> src/object.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ObjectInner { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | methods: RwLock>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | signals: RwLock>>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `base` is never used [INFO] [stdout] --> src/object.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl ObjectInner { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 52 | pub fn base(class_name: &str) -> ObjectRef { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `insert_method` is never used [INFO] [stdout] --> src/object.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 72 | impl ObjectInner { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 73 | pub(crate) fn insert_method(this: &ObjectRef, name: &str, f: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_property`, `get_property`, `call_method`, `connect`, and `emit_signal` are never used [INFO] [stdout] --> src/object.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl ObjectRef { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_property(&self, key: &str, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_property(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn call_method(&self, name: &str, args: &[Value]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn connect(&self, signal: &str, callback: Arc) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn emit_signal(&self, signal: &str, args: &[Value]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_object_class` is never used [INFO] [stdout] --> src/object.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn init_object_class() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> src/parser.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn peek(&self, offset: usize) -> Option<&Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ir` and `generated_path` are never read [INFO] [stdout] --> src/pipeline.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SceneCompileResult { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 11 | pub ast: ast::GemFile, [INFO] [stdout] 12 | pub ir: SceneIR, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub generated_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_rust_type_mut` is never used [INFO] [stdout] --> src/property_type.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PropertyType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn to_rust_type_mut(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/value.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 8 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Map(HashMap), [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | Object(ObjectRef), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_object` and `as_array_mut` are never used [INFO] [stdout] --> src/value.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 34 | pub fn as_object(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn as_array_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.58s [INFO] running `Command { std: "docker" "inspect" "68e68ddd7770161c663532e35cc93c262aa874633285eb513667e2196174a5e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e68ddd7770161c663532e35cc93c262aa874633285eb513667e2196174a5e9", kill_on_drop: false }` [INFO] [stdout] 68e68ddd7770161c663532e35cc93c262aa874633285eb513667e2196174a5e9