[INFO] fetching crate evalit 0.2.0-beta.0... [INFO] testing evalit-0.2.0-beta.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate evalit 0.2.0-beta.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate evalit 0.2.0-beta.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate evalit 0.2.0-beta.0 [INFO] tweaked toml for crates.io crate evalit 0.2.0-beta.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate evalit 0.2.0-beta.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate evalit 0.2.0-beta.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9fac694290e2187e96ea375c33a8bc536ff08d070df442ff809ade7cbc00732 [INFO] running `Command { std: "docker" "start" "-a" "b9fac694290e2187e96ea375c33a8bc536ff08d070df442ff809ade7cbc00732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9fac694290e2187e96ea375c33a8bc536ff08d070df442ff809ade7cbc00732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9fac694290e2187e96ea375c33a8bc536ff08d070df442ff809ade7cbc00732", kill_on_drop: false }` [INFO] [stdout] b9fac694290e2187e96ea375c33a8bc536ff08d070df442ff809ade7cbc00732 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ee61ee2c19bc855bc4616bcc0369b5f78140bc28606819ee16859b1efd28ad78 [INFO] running `Command { std: "docker" "start" "-a" "ee61ee2c19bc855bc4616bcc0369b5f78140bc28606819ee16859b1efd28ad78", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling petgraph v0.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling evalit v0.2.0-beta.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler/typing.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | for (name, func) in self.type_cx.functions.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal` [INFO] [stdout] --> src/compiler/typing.rs:474:30 [INFO] [stdout] | [INFO] [stdout] 474 | Pattern::Literal(literal) => Ok(()), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compiler/typing.rs:582:37 [INFO] [stdout] | [INFO] [stdout] 582 | Expression::Environment(env) => Ok(Type::String), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/compiler/typing.rs:586:29 [INFO] [stdout] | [INFO] [stdout] 586 | Expression::Map(map) => Ok(Type::Any), // 暂定Map类型为Any [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/compiler/typing.rs:588:31 [INFO] [stdout] | [INFO] [stdout] 588 | Expression::Range(range) => Ok(Type::Any), // 暂定Range类型为Any [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/compiler/typing.rs:605:26 [INFO] [stdout] | [INFO] [stdout] 605 | fn check_path(&self, path: &PathExpression) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple` [INFO] [stdout] --> src/compiler/typing.rs:610:31 [INFO] [stdout] | [INFO] [stdout] 610 | fn check_tuple(&mut self, tuple: &TupleExpression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/compiler/typing.rs:615:31 [INFO] [stdout] | [INFO] [stdout] 615 | fn check_array(&mut self, arr: &ArrayExpression) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closure` [INFO] [stdout] --> src/compiler/typing.rs:620:33 [INFO] [stdout] | [INFO] [stdout] 620 | fn check_closure(&mut self, closure: &ClosureExpression) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/compiler/typing.rs:631:31 [INFO] [stdout] | [INFO] [stdout] 631 | fn check_slice(&mut self, slice: &SliceExpression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/compiler/typing.rs:641:35 [INFO] [stdout] | [INFO] [stdout] 641 | fn check_index_get(&mut self, index: &IndexGetExpression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/compiler/typing.rs:651:38 [INFO] [stdout] | [INFO] [stdout] 651 | fn check_property_get(&mut self, prop: &PropertyGetExpression) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/compiler/typing.rs:661:37 [INFO] [stdout] | [INFO] [stdout] 661 | fn check_call_method(&mut self, call: &CallMethodExpression) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_name` [INFO] [stdout] --> src/compiler/typing.rs:830:26 [INFO] [stdout] | [INFO] [stdout] 830 | for (i, (param_name, param_type)) in func_def.params.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | fn call(&mut self, args: &[ValueRef]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | fn index_get(&self, index: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | fn property_get(&self, property: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 146 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | args: &[ValueRef], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/runtime/object.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | fn make_slice(&self, range: ValueRef) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | fn call(&mut self, args: &[ValueRef]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:453:25 [INFO] [stdout] | [INFO] [stdout] 453 | fn index_get(&self, index: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:460:44 [INFO] [stdout] | [INFO] [stdout] 460 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | fn property_get(&self, property: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:474:32 [INFO] [stdout] | [INFO] [stdout] 474 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:474:48 [INFO] [stdout] | [INFO] [stdout] 474 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | args: &[ValueRef], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/runtime/object.rs:508:26 [INFO] [stdout] | [INFO] [stdout] 508 | fn make_slice(&self, range: ValueRef) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `col` are never read [INFO] [stdout] --> src/compiler.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct LineCol { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 38 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | col: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineCol` has derived impls for the traits `Debug` and `Clone`, 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: variant `Block` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 105 | Block(BlockStatement), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Range` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 227 | Range(RangeExpression), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PostfixOp` is never used [INFO] [stdout] --> src/compiler/ast/syntax.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | pub enum PostfixOp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostfixOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostfixExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct PostfixExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostfixExpression` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/syntax.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 421 | impl IdentifierExpression { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 422 | pub fn new(name: String, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Crate` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 457 | pub enum PathSeg { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 461 | Crate, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathSeg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 12 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn id(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 34 | id_entity!(VariableId); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 12 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn id(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 36 | id_entity!(BlockId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_variable`, `as_function`, and `as_constant` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn as_variable(&self) -> VariableId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn as_function(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn as_constant(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_terminator` and `is_call` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 294 | impl Instruction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 295 | pub fn is_terminator(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn is_call(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instructions` is never constructed [INFO] [stdout] --> src/compiler/ir/instruction.rs:571:12 [INFO] [stdout] | [INFO] [stdout] 571 | pub struct Instructions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instructions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `iter` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 575 | impl Instructions { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 576 | pub fn new(insts: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | pub fn push(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 584 | pub fn iter(&self) -> InstructionsIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionsIterator` is never constructed [INFO] [stdout] --> src/compiler/ir/instruction.rs:591:12 [INFO] [stdout] | [INFO] [stdout] 591 | pub struct InstructionsIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_block_with_instructions` and `block_remove_successor` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:646:19 [INFO] [stdout] | [INFO] [stdout] 622 | impl ControlFlowGraph { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 646 | pub(crate) fn create_block_with_instructions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 723 | pub fn block_remove_successor(&mut self, block: BlockId, successors: BlockId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_anonymous` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:751:12 [INFO] [stdout] | [INFO] [stdout] 742 | impl Name { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 751 | pub fn is_anonymous(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/compiler/ir/instruction.rs:789:16 [INFO] [stdout] | [INFO] [stdout] 787 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 788 | pub(crate) id: BlockId, [INFO] [stdout] 789 | pub(crate) label: Name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_instructions` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:806:12 [INFO] [stdout] | [INFO] [stdout] 793 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 806 | pub fn with_instructions(mut self, instructions: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_function`, `get_block`, and `with_control_flow_graph` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:871:12 [INFO] [stdout] | [INFO] [stdout] 862 | impl IrUnit { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 871 | pub fn get_function(&self, id: FunctionId) -> Option<&IrFunction> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 910 | pub fn get_block(&self, id: BlockId) -> Option<&Block> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 914 | pub fn with_control_flow_graph(mut self, control_flow_graph: ControlFlowGraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression_input` is never used [INFO] [stdout] --> src/compiler/parser.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) fn parse_expression_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement_input` is never used [INFO] [stdout] --> src/compiler/parser.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn parse_statement_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `type_is_defined` and `get_type_id` are never used [INFO] [stdout] --> src/compiler/typing.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl TypeContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn type_is_defined(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_type_id(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectBase` is never used [INFO] [stdout] --> src/runtime/object.rs:361:11 [INFO] [stdout] | [INFO] [stdout] 361 | pub trait ObjectBase: std::any::Any + std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `properties` are never read [INFO] [stdout] --> src/runtime/object/metatable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MetaTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub methods: HashMap>, [INFO] [stdout] 13 | pub properties: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_property`, `with_property_getter`, `with_property_setter`, `property_get`, and `property_set` are never used [INFO] [stdout] --> src/runtime/object/metatable.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MetaTable { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_property(&mut self, property: MetaProperty) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_property_getter(mut self, name: &str, getter: Getter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_property_setter(mut self, name: &str, setter: Setter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn property_get(&self, this: &T, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn property_set(&self, this: &mut T, name: &str, value: Value) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `getter`, and `setter` are never read [INFO] [stdout] --> src/runtime/object/metatable.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct MetaProperty { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 85 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | pub getter: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | pub setter: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaProperty` 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 `new` is never used [INFO] [stdout] --> src/runtime/object/metatable.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl MetaProperty { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 91 | pub fn new(name: &str, getter: Option>, setter: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compiler/ir/instruction.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | pub fn iter(&self) -> InstructionsIterator { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 584 | pub fn iter(&self) -> InstructionsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn eval(script: &str, env: Environment) -> Result, Error> { [INFO] [stdout] | ^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | pub fn eval(script: &str, env: Environment) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | script: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] 28 | env: Environment, [INFO] [stdout] 29 | ) -> Result, Error> { [INFO] [stdout] | ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn eval(script: &str, env: Environment) -> Result, Error> { [INFO] [stdout] | ^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn eval(script: &str, env: Environment) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runtime/value.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn value(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn value(&self) -> RwLockReadGuard<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runtime/value.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn value_mut(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn value_mut(&self) -> RwLockWriteGuard<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.45s [INFO] running `Command { std: "docker" "inspect" "ee61ee2c19bc855bc4616bcc0369b5f78140bc28606819ee16859b1efd28ad78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee61ee2c19bc855bc4616bcc0369b5f78140bc28606819ee16859b1efd28ad78", kill_on_drop: false }` [INFO] [stdout] ee61ee2c19bc855bc4616bcc0369b5f78140bc28606819ee16859b1efd28ad78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9884f1c1eb9d8322eb33bcc3682bd3d9d1e6e4fca73e92889895d7dbaf9f5153 [INFO] running `Command { std: "docker" "start" "-a" "9884f1c1eb9d8322eb33bcc3682bd3d9d1e6e4fca73e92889895d7dbaf9f5153", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling petgraph v0.8.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling jiff v0.2.13 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling evalit v0.2.0-beta.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler/typing.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | for (name, func) in self.type_cx.functions.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal` [INFO] [stdout] --> src/compiler/typing.rs:474:30 [INFO] [stdout] | [INFO] [stdout] 474 | Pattern::Literal(literal) => Ok(()), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compiler/typing.rs:582:37 [INFO] [stdout] | [INFO] [stdout] 582 | Expression::Environment(env) => Ok(Type::String), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/compiler/typing.rs:586:29 [INFO] [stdout] | [INFO] [stdout] 586 | Expression::Map(map) => Ok(Type::Any), // 暂定Map类型为Any [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/compiler/typing.rs:588:31 [INFO] [stdout] | [INFO] [stdout] 588 | Expression::Range(range) => Ok(Type::Any), // 暂定Range类型为Any [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/compiler/typing.rs:605:26 [INFO] [stdout] | [INFO] [stdout] 605 | fn check_path(&self, path: &PathExpression) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple` [INFO] [stdout] --> src/compiler/typing.rs:610:31 [INFO] [stdout] | [INFO] [stdout] 610 | fn check_tuple(&mut self, tuple: &TupleExpression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/compiler/typing.rs:615:31 [INFO] [stdout] | [INFO] [stdout] 615 | fn check_array(&mut self, arr: &ArrayExpression) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closure` [INFO] [stdout] --> src/compiler/typing.rs:620:33 [INFO] [stdout] | [INFO] [stdout] 620 | fn check_closure(&mut self, closure: &ClosureExpression) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/compiler/typing.rs:631:31 [INFO] [stdout] | [INFO] [stdout] 631 | fn check_slice(&mut self, slice: &SliceExpression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/compiler/typing.rs:641:35 [INFO] [stdout] | [INFO] [stdout] 641 | fn check_index_get(&mut self, index: &IndexGetExpression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/compiler/typing.rs:651:38 [INFO] [stdout] | [INFO] [stdout] 651 | fn check_property_get(&mut self, prop: &PropertyGetExpression) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/compiler/typing.rs:661:37 [INFO] [stdout] | [INFO] [stdout] 661 | fn check_call_method(&mut self, call: &CallMethodExpression) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_name` [INFO] [stdout] --> src/compiler/typing.rs:830:26 [INFO] [stdout] | [INFO] [stdout] 830 | for (i, (param_name, param_type)) in func_def.params.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | fn call(&mut self, args: &[ValueRef]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | fn index_get(&self, index: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | fn property_get(&self, property: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 146 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | args: &[ValueRef], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/runtime/object.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | fn make_slice(&self, range: ValueRef) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | fn call(&mut self, args: &[ValueRef]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:453:25 [INFO] [stdout] | [INFO] [stdout] 453 | fn index_get(&self, index: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:460:44 [INFO] [stdout] | [INFO] [stdout] 460 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | fn property_get(&self, property: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:474:32 [INFO] [stdout] | [INFO] [stdout] 474 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:474:48 [INFO] [stdout] | [INFO] [stdout] 474 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | args: &[ValueRef], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/runtime/object.rs:508:26 [INFO] [stdout] | [INFO] [stdout] 508 | fn make_slice(&self, range: ValueRef) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `col` are never read [INFO] [stdout] --> src/compiler.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct LineCol { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 38 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | col: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineCol` has derived impls for the traits `Debug` and `Clone`, 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: variant `Block` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 105 | Block(BlockStatement), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Range` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 227 | Range(RangeExpression), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PostfixOp` is never used [INFO] [stdout] --> src/compiler/ast/syntax.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | pub enum PostfixOp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostfixOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostfixExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct PostfixExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostfixExpression` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/syntax.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 421 | impl IdentifierExpression { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 422 | pub fn new(name: String, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Crate` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 457 | pub enum PathSeg { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 461 | Crate, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathSeg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 12 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn id(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 34 | id_entity!(VariableId); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 12 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn id(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 36 | id_entity!(BlockId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_variable`, `as_function`, and `as_constant` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn as_variable(&self) -> VariableId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn as_function(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn as_constant(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_terminator` and `is_call` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 294 | impl Instruction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 295 | pub fn is_terminator(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn is_call(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instructions` is never constructed [INFO] [stdout] --> src/compiler/ir/instruction.rs:571:12 [INFO] [stdout] | [INFO] [stdout] 571 | pub struct Instructions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instructions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `iter` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 575 | impl Instructions { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 576 | pub fn new(insts: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | pub fn push(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 584 | pub fn iter(&self) -> InstructionsIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionsIterator` is never constructed [INFO] [stdout] --> src/compiler/ir/instruction.rs:591:12 [INFO] [stdout] | [INFO] [stdout] 591 | pub struct InstructionsIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_block_with_instructions` and `block_remove_successor` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:646:19 [INFO] [stdout] | [INFO] [stdout] 622 | impl ControlFlowGraph { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 646 | pub(crate) fn create_block_with_instructions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 723 | pub fn block_remove_successor(&mut self, block: BlockId, successors: BlockId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_anonymous` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:751:12 [INFO] [stdout] | [INFO] [stdout] 742 | impl Name { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 751 | pub fn is_anonymous(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/compiler/ir/instruction.rs:789:16 [INFO] [stdout] | [INFO] [stdout] 787 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 788 | pub(crate) id: BlockId, [INFO] [stdout] 789 | pub(crate) label: Name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_instructions` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:806:12 [INFO] [stdout] | [INFO] [stdout] 793 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 806 | pub fn with_instructions(mut self, instructions: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_function`, `get_block`, and `with_control_flow_graph` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:871:12 [INFO] [stdout] | [INFO] [stdout] 862 | impl IrUnit { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 871 | pub fn get_function(&self, id: FunctionId) -> Option<&IrFunction> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 910 | pub fn get_block(&self, id: BlockId) -> Option<&Block> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 914 | pub fn with_control_flow_graph(mut self, control_flow_graph: ControlFlowGraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression_input` is never used [INFO] [stdout] --> src/compiler/parser.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) fn parse_expression_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement_input` is never used [INFO] [stdout] --> src/compiler/parser.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn parse_statement_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `type_is_defined` and `get_type_id` are never used [INFO] [stdout] --> src/compiler/typing.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl TypeContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn type_is_defined(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_type_id(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectBase` is never used [INFO] [stdout] --> src/runtime/object.rs:361:11 [INFO] [stdout] | [INFO] [stdout] 361 | pub trait ObjectBase: std::any::Any + std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `properties` are never read [INFO] [stdout] --> src/runtime/object/metatable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MetaTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub methods: HashMap>, [INFO] [stdout] 13 | pub properties: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_property`, `with_property_getter`, `with_property_setter`, `property_get`, and `property_set` are never used [INFO] [stdout] --> src/runtime/object/metatable.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MetaTable { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_property(&mut self, property: MetaProperty) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_property_getter(mut self, name: &str, getter: Getter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_property_setter(mut self, name: &str, setter: Setter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn property_get(&self, this: &T, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn property_set(&self, this: &mut T, name: &str, value: Value) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `getter`, and `setter` are never read [INFO] [stdout] --> src/runtime/object/metatable.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct MetaProperty { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 85 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | pub getter: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | pub setter: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaProperty` 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 `new` is never used [INFO] [stdout] --> src/runtime/object/metatable.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl MetaProperty { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 91 | pub fn new(name: &str, getter: Option>, setter: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compiler/ir/instruction.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | pub fn iter(&self) -> InstructionsIterator { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 584 | pub fn iter(&self) -> InstructionsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn eval(script: &str, env: Environment) -> Result, Error> { [INFO] [stdout] | ^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | pub fn eval(script: &str, env: Environment) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | script: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] 28 | env: Environment, [INFO] [stdout] 29 | ) -> Result, Error> { [INFO] [stdout] | ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn eval(script: &str, env: Environment) -> Result, Error> { [INFO] [stdout] | ^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn eval(script: &str, env: Environment) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runtime/value.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn value(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn value(&self) -> RwLockReadGuard<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runtime/value.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn value_mut(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn value_mut(&self) -> RwLockWriteGuard<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.6.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc2wllUI/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libenv_logger-2b0a0090e69acdc9.rlib,libanstream-239aa41ca564c325.rlib,libanstyle_query-ebe1135144359f1f.rlib,libis_terminal_polyfill-67333c1fd864e7ce.rlib,libcolorchoice-aaa33b9b4c6e047f.rlib,libanstyle_parse-5c3251d51efe2012.rlib,libutf8parse-566e819dd32c0a03.rlib,libjiff-33dd5cf2de3f9fa6.rlib,libenv_filter-498288cc204cd3de.rlib,libregex-66215011ff483fc4.rlib,libregex_automata-dcf0f7e901fa1b90.rlib,libaho_corasick-c063ac496b2e1cc2.rlib,libregex_syntax-e1e74b324d770c72.rlib,libanstyle-b75f78861eab6f9d.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libevalit-460e2c5c048855fd.rlib,libparking_lot-a52a825fcba969df.rlib,libparking_lot_core-2b3053ebc1fc3589.rlib,liblibc-8454428c84ca4d78.rlib,libcfg_if-66d55f6b302e88c8.rlib,libsmallvec-fe0f0a076ac92647.rlib,liblock_api-98db4a9c1c082633.rlib,libscopeguard-339f7eb6e1fefd1f.rlib,libfutures-e4bd8a97ba969b3b.rlib,libfutures_executor-a45b61e5ae5ef152.rlib,libfutures_util-86309edc41b335a0.rlib,libfutures_io-48a223b618848720.rlib,libslab-14567880f3b21ac9.rlib,libfutures_channel-6b1034c5b0c9853e.rlib,libpin_project_lite-0d5016e1f2870cc0.rlib,libfutures_sink-5bcde6d6efedd2a7.rlib,libfutures_task-668b9442d038e652.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-aea49b3401aac6bb.rlib,libpest-e5091a67f8919e4d.rlib,libucd_trie-a31d05edd9cdb7bb.rlib,libmemchr-8eb551391861f369.rlib,libthiserror-c72f0f4662d86831.rlib,libpetgraph-abadf95c4a817293.rlib,libindexmap-20ac41288705bdce.rlib,libhashbrown-9759ab6328548416.rlib,libfoldhash-fdf7886f3f3012c4.rlib,libequivalent-c8ca4e154c540f6d.rlib,liballocator_api2-be9a60e31a10499f.rlib,libfixedbitset-b472f93768bbe449.rlib,liblog-7ed48074b9f3458e.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc2wllUI/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_control_flow-798a5e8fea7c4f1a" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `evalit` (test "test_control_flow") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler/typing.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | for (name, func) in self.type_cx.functions.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal` [INFO] [stdout] --> src/compiler/typing.rs:474:30 [INFO] [stdout] | [INFO] [stdout] 474 | Pattern::Literal(literal) => Ok(()), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compiler/typing.rs:582:37 [INFO] [stdout] | [INFO] [stdout] 582 | Expression::Environment(env) => Ok(Type::String), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/compiler/typing.rs:586:29 [INFO] [stdout] | [INFO] [stdout] 586 | Expression::Map(map) => Ok(Type::Any), // 暂定Map类型为Any [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/compiler/typing.rs:588:31 [INFO] [stdout] | [INFO] [stdout] 588 | Expression::Range(range) => Ok(Type::Any), // 暂定Range类型为Any [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/compiler/typing.rs:605:26 [INFO] [stdout] | [INFO] [stdout] 605 | fn check_path(&self, path: &PathExpression) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tuple` [INFO] [stdout] --> src/compiler/typing.rs:610:31 [INFO] [stdout] | [INFO] [stdout] 610 | fn check_tuple(&mut self, tuple: &TupleExpression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tuple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/compiler/typing.rs:615:31 [INFO] [stdout] | [INFO] [stdout] 615 | fn check_array(&mut self, arr: &ArrayExpression) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closure` [INFO] [stdout] --> src/compiler/typing.rs:620:33 [INFO] [stdout] | [INFO] [stdout] 620 | fn check_closure(&mut self, closure: &ClosureExpression) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/compiler/typing.rs:631:31 [INFO] [stdout] | [INFO] [stdout] 631 | fn check_slice(&mut self, slice: &SliceExpression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/compiler/typing.rs:641:35 [INFO] [stdout] | [INFO] [stdout] 641 | fn check_index_get(&mut self, index: &IndexGetExpression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/compiler/typing.rs:651:38 [INFO] [stdout] | [INFO] [stdout] 651 | fn check_property_get(&mut self, prop: &PropertyGetExpression) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/compiler/typing.rs:661:37 [INFO] [stdout] | [INFO] [stdout] 661 | fn check_call_method(&mut self, call: &CallMethodExpression) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_name` [INFO] [stdout] --> src/compiler/typing.rs:830:26 [INFO] [stdout] | [INFO] [stdout] 830 | for (i, (param_name, param_type)) in func_def.params.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcGvpqaQ/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libenv_logger-2b0a0090e69acdc9.rlib,libanstream-239aa41ca564c325.rlib,libanstyle_query-ebe1135144359f1f.rlib,libis_terminal_polyfill-67333c1fd864e7ce.rlib,libcolorchoice-aaa33b9b4c6e047f.rlib,libanstyle_parse-5c3251d51efe2012.rlib,libutf8parse-566e819dd32c0a03.rlib,libjiff-33dd5cf2de3f9fa6.rlib,libenv_filter-498288cc204cd3de.rlib,libregex-66215011ff483fc4.rlib,libregex_automata-dcf0f7e901fa1b90.rlib,libaho_corasick-c063ac496b2e1cc2.rlib,libregex_syntax-e1e74b324d770c72.rlib,libanstyle-b75f78861eab6f9d.rlib,libtokio-9703b45152f4e0e5.rlib,libsignal_hook_registry-d0730a5a386fac1f.rlib,libsocket2-df013279cfef7fc5.rlib,libbytes-0deeb68a8e6966b8.rlib,libmio-6728fb84f02aac80.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libevalit-460e2c5c048855fd.rlib,libparking_lot-a52a825fcba969df.rlib,libparking_lot_core-2b3053ebc1fc3589.rlib,liblibc-8454428c84ca4d78.rlib,libcfg_if-66d55f6b302e88c8.rlib,libsmallvec-fe0f0a076ac92647.rlib,liblock_api-98db4a9c1c082633.rlib,libscopeguard-339f7eb6e1fefd1f.rlib,libfutures-e4bd8a97ba969b3b.rlib,libfutures_executor-a45b61e5ae5ef152.rlib,libfutures_util-86309edc41b335a0.rlib,libfutures_io-48a223b618848720.rlib,libslab-14567880f3b21ac9.rlib,libfutures_channel-6b1034c5b0c9853e.rlib,libpin_project_lite-0d5016e1f2870cc0.rlib,libfutures_sink-5bcde6d6efedd2a7.rlib,libfutures_task-668b9442d038e652.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-aea49b3401aac6bb.rlib,libpest-e5091a67f8919e4d.rlib,libucd_trie-a31d05edd9cdb7bb.rlib,libmemchr-8eb551391861f369.rlib,libthiserror-c72f0f4662d86831.rlib,libpetgraph-abadf95c4a817293.rlib,libindexmap-20ac41288705bdce.rlib,libhashbrown-9759ab6328548416.rlib,libfoldhash-fdf7886f3f3012c4.rlib,libequivalent-c8ca4e154c540f6d.rlib,liballocator_api2-be9a60e31a10499f.rlib,libfixedbitset-b472f93768bbe449.rlib,liblog-7ed48074b9f3458e.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcGvpqaQ/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_embed-f57623cac0ea7a44" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `evalit` (test "test_embed") due to 1 previous error [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | fn call(&mut self, args: &[ValueRef]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | fn index_get(&self, index: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | fn property_get(&self, property: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 146 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | args: &[ValueRef], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/runtime/object.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | fn make_slice(&self, range: ValueRef) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | fn call(&mut self, args: &[ValueRef]) -> Result, RuntimeError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:453:25 [INFO] [stdout] | [INFO] [stdout] 453 | fn index_get(&self, index: &Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/runtime/object.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:460:44 [INFO] [stdout] | [INFO] [stdout] 460 | fn index_set(&mut self, index: &Value, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | fn property_get(&self, property: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/object.rs:474:32 [INFO] [stdout] | [INFO] [stdout] 474 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/object.rs:474:48 [INFO] [stdout] | [INFO] [stdout] 474 | fn property_set(&mut self, property: &str, value: ValueRef) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/runtime/object.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | args: &[ValueRef], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/runtime/object.rs:508:26 [INFO] [stdout] | [INFO] [stdout] 508 | fn make_slice(&self, range: ValueRef) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line` and `col` are never read [INFO] [stdout] --> src/compiler.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct LineCol { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 38 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | col: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineCol` has derived impls for the traits `Debug` and `Clone`, 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: variant `Block` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 105 | Block(BlockStatement), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Range` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 227 | Range(RangeExpression), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PostfixOp` is never used [INFO] [stdout] --> src/compiler/ast/syntax.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | pub enum PostfixOp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostfixOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostfixExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:413:12 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct PostfixExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostfixExpression` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/syntax.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 421 | impl IdentifierExpression { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 422 | pub fn new(name: String, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Crate` is never constructed [INFO] [stdout] --> src/compiler/ast/syntax.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 457 | pub enum PathSeg { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 461 | Crate, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathSeg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 12 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn id(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 34 | id_entity!(VariableId); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 12 | impl $name { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn id(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 36 | id_entity!(BlockId); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `id_entity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_variable`, `as_function`, and `as_constant` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn as_variable(&self) -> VariableId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn as_function(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn as_constant(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_terminator` and `is_call` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 294 | impl Instruction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 295 | pub fn is_terminator(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn is_call(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instructions` is never constructed [INFO] [stdout] --> src/compiler/ir/instruction.rs:571:12 [INFO] [stdout] | [INFO] [stdout] 571 | pub struct Instructions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instructions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `iter` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 575 | impl Instructions { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 576 | pub fn new(insts: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | pub fn push(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 584 | pub fn iter(&self) -> InstructionsIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionsIterator` is never constructed [INFO] [stdout] --> src/compiler/ir/instruction.rs:591:12 [INFO] [stdout] | [INFO] [stdout] 591 | pub struct InstructionsIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_block_with_instructions` and `block_remove_successor` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:646:19 [INFO] [stdout] | [INFO] [stdout] 622 | impl ControlFlowGraph { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 646 | pub(crate) fn create_block_with_instructions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 723 | pub fn block_remove_successor(&mut self, block: BlockId, successors: BlockId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_anonymous` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:751:12 [INFO] [stdout] | [INFO] [stdout] 742 | impl Name { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 751 | pub fn is_anonymous(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/compiler/ir/instruction.rs:789:16 [INFO] [stdout] | [INFO] [stdout] 787 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 788 | pub(crate) id: BlockId, [INFO] [stdout] 789 | pub(crate) label: Name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_instructions` is never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:806:12 [INFO] [stdout] | [INFO] [stdout] 793 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 806 | pub fn with_instructions(mut self, instructions: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_function`, `get_block`, and `with_control_flow_graph` are never used [INFO] [stdout] --> src/compiler/ir/instruction.rs:871:12 [INFO] [stdout] | [INFO] [stdout] 862 | impl IrUnit { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 871 | pub fn get_function(&self, id: FunctionId) -> Option<&IrFunction> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 910 | pub fn get_block(&self, id: BlockId) -> Option<&Block> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 914 | pub fn with_control_flow_graph(mut self, control_flow_graph: ControlFlowGraph) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression_input` is never used [INFO] [stdout] --> src/compiler/parser.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) fn parse_expression_input(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `type_is_defined` and `get_type_id` are never used [INFO] [stdout] --> src/compiler/typing.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl TypeContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn type_is_defined(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_type_id(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectBase` is never used [INFO] [stdout] --> src/runtime/object.rs:361:11 [INFO] [stdout] | [INFO] [stdout] 361 | pub trait ObjectBase: std::any::Any + std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `properties` are never read [INFO] [stdout] --> src/runtime/object/metatable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MetaTable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub methods: HashMap>, [INFO] [stdout] 13 | pub properties: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_property`, `with_property_getter`, `with_property_setter`, `property_get`, and `property_set` are never used [INFO] [stdout] --> src/runtime/object/metatable.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MetaTable { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_property(&mut self, property: MetaProperty) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_property_getter(mut self, name: &str, getter: Getter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_property_setter(mut self, name: &str, setter: Setter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn property_get(&self, this: &T, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn property_set(&self, this: &mut T, name: &str, value: Value) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `getter`, and `setter` are never read [INFO] [stdout] --> src/runtime/object/metatable.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct MetaProperty { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 85 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | pub getter: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | pub setter: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaProperty` 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 `new` is never used [INFO] [stdout] --> src/runtime/object/metatable.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl MetaProperty { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 91 | pub fn new(name: &str, getter: Option>, setter: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/compiler/ir/instruction.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 584 | pub fn iter(&self) -> InstructionsIterator { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 584 | pub fn iter(&self) -> InstructionsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn eval(script: &str, env: Environment) -> Result, Error> { [INFO] [stdout] | ^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 6 | pub fn eval(script: &str, env: Environment) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | script: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] 28 | env: Environment, [INFO] [stdout] 29 | ) -> Result, Error> { [INFO] [stdout] | ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/interpreter.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn eval(script: &str, env: Environment) -> Result, Error> { [INFO] [stdout] | ^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn eval(script: &str, env: Environment) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runtime/value.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn value(&self) -> RwLockReadGuard { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn value(&self) -> RwLockReadGuard<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runtime/value.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn value_mut(&self) -> RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn value_mut(&self) -> RwLockWriteGuard<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9884f1c1eb9d8322eb33bcc3682bd3d9d1e6e4fca73e92889895d7dbaf9f5153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9884f1c1eb9d8322eb33bcc3682bd3d9d1e6e4fca73e92889895d7dbaf9f5153", kill_on_drop: false }` [INFO] [stdout] 9884f1c1eb9d8322eb33bcc3682bd3d9d1e6e4fca73e92889895d7dbaf9f5153