WIP: Move slite_into_list and build_list to rune_core #45
Annotations
41 errors and 8 warnings
stable / fmt
Process completed with exit code 1.
|
nightly / doc
Process completed with exit code 101.
|
no method named `execute_bytecode` found for mutable reference `&mut bytecode::Routine<'brw>` in the current scope:
crates/rune-core/src/bytecode.rs#L320
error[E0599]: no method named `execute_bytecode` found for mutable reference `&mut bytecode::Routine<'brw>` in the current scope
--> crates/rune-core/src/bytecode.rs:320:34
|
320 | let err = match self.execute_bytecode(env, cx) {
| ^^^^^^^^^^^^^^^^ method not found in `&mut Routine<'brw>`
|
no method named `call` found for struct `object::tagged::Gc` in the current scope:
crates/rune-core/src/object/tagged.rs#L908
error[E0599]: no method named `call` found for struct `object::tagged::Gc` in the current scope
--> crates/rune-core/src/object/tagged.rs:908:30
|
51 | pub struct Gc<T> {
| ---------------- method `call` not found for this struct
...
908 | func.call(args, Some(&name), env, cx)
| ^^^^ method not found in `Gc<Function<'_>>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `call`, perhaps you need to implement it:
candidate #1: `std::ops::Fn`
|
no method named `bind` found for struct `env::symbol::Symbol<'_>` in the current scope:
crates/rune-core/src/object/tagged.rs#L902
error[E0599]: no method named `bind` found for struct `env::symbol::Symbol<'_>` in the current scope
--> crates/rune-core/src/object/tagged.rs:902:40
|
902 | let name = sym.bind(cx).name().to_owned();
| ^^^^ method not found in `Symbol<'_>`
|
::: crates/rune-core/src/env/symbol.rs:42:1
|
42 | pub struct Symbol<'a> {
| --------------------- method `bind` not found for this struct
|
no method named `bind` found for struct `env::symbol::Symbol<'_>` in the current scope:
crates/rune-core/src/object/tagged.rs#L898
error[E0599]: no method named `bind` found for struct `env::symbol::Symbol<'_>` in the current scope
--> crates/rune-core/src/object/tagged.rs:898:46
|
898 | let Some(func) = sym.bind(cx).follow_indirect(cx) else {
| ^^^^ method not found in `Symbol<'_>`
|
::: crates/rune-core/src/env/symbol.rs:42:1
|
42 | pub struct Symbol<'a> {
| --------------------- method `bind` not found for this struct
|
mismatched types:
crates/rune-core/src/object/tagged.rs#L882
error[E0308]: mismatched types
--> crates/rune-core/src/object/tagged.rs:882:39
|
882 | crate::bytecode::call(f, args, name, env, cx)
| --------------------- ^ expected `&Rt<&ByteFn>`, found `&ByteFn`
| |
| arguments to this function are incorrect
|
= note: expected reference `&gc::root::Rt<&'static object::func::ByteFn>`
found reference `&object::func::ByteFn`
note: function defined here
--> crates/rune-core/src/bytecode.rs:362:15
|
362 | pub(crate) fn call<'ob>(
| ^^^^
363 | func: &Rt<&'static ByteFn>,
| --------------------------
|
cannot find function `bind_variables` in this scope:
crates/rune-core/src/object/tagged.rs#L860
error[E0425]: cannot find function `bind_variables` in this scope
--> crates/rune-core/src/object/tagged.rs:860:24
|
860 | let vars = bind_variables(&mut forms, args, name, cx)?;
| ^^^^^^^^^^^^^^ not found in this scope
|
cannot find type `EvalResult` in this scope:
crates/rune-core/src/object/tagged.rs#L875
error[E0412]: cannot find type `EvalResult` in this scope
--> crates/rune-core/src/object/tagged.rs:875:10
|
875 | ) -> EvalResult<'ob> {
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
2 + use crate::error::EvalResult;
|
|
cannot find type `Env` in this scope:
crates/rune-core/src/object/tagged.rs#L873
error[E0412]: cannot find type `Env` in this scope
--> crates/rune-core/src/object/tagged.rs:873:22
|
873 | env: &mut Rt<Env>,
| ^^^ not found in this scope
|
help: consider importing this struct
|
2 + use crate::env::Env;
|
|
cannot find value `forms` in this scope:
crates/rune-core/src/object/tagged.rs#L862
error[E0425]: cannot find value `forms` in this scope
--> crates/rune-core/src/object/tagged.rs:862:54
|
862 | Interpreter { vars, env }.implicit_progn(forms, cx)
| ^^^^^ not found in this scope
|
cannot find struct, variant or union type `Interpreter` in this scope:
crates/rune-core/src/object/tagged.rs#L862
error[E0422]: cannot find struct, variant or union type `Interpreter` in this scope
--> crates/rune-core/src/object/tagged.rs:862:13
|
862 | Interpreter { vars, env }.implicit_progn(forms, cx)
| ^^^^^^^^^^^ not found in this scope
|
cannot find value `forms` in this scope:
crates/rune-core/src/object/tagged.rs#L860
error[E0425]: cannot find value `forms` in this scope
--> crates/rune-core/src/object/tagged.rs:860:44
|
860 | let vars = bind_variables(&mut forms, args, name, cx)?;
| ^^^^^ not found in this scope
|
cannot find type `EvalResult` in this scope:
crates/rune-core/src/object/tagged.rs#L852
error[E0412]: cannot find type `EvalResult` in this scope
--> crates/rune-core/src/object/tagged.rs:852:6
|
852 | ) -> EvalResult<'ob> {
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
2 + use crate::error::EvalResult;
|
|
cannot find type `Env` in this scope:
crates/rune-core/src/object/tagged.rs#L850
error[E0412]: cannot find type `Env` in this scope
--> crates/rune-core/src/object/tagged.rs:850:18
|
850 | env: &mut Rt<Env>,
| ^^^ not found in this scope
|
help: consider importing this struct
|
2 + use crate::env::Env;
|
|
failed to resolve: use of undeclared type `EvalError`:
crates/rune-core/src/object/tagged.rs#L842
error[E0433]: failed to resolve: use of undeclared type `EvalError`
--> crates/rune-core/src/object/tagged.rs:842:19
|
842 | Err(e) => EvalError::with_trace(e, name, args),
| ^^^^^^^^^ use of undeclared type `EvalError`
|
help: consider importing this struct
|
2 + use crate::error::EvalError;
|
|
cannot find type `EvalError` in this scope:
crates/rune-core/src/object/tagged.rs#L840
error[E0412]: cannot find type `EvalError` in this scope
--> crates/rune-core/src/object/tagged.rs:840:26
|
840 | match err.downcast::<EvalError>() {
| ^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
2 + use crate::error::EvalError;
|
|
cannot find type `EvalError` in this scope:
crates/rune-core/src/object/tagged.rs#L839
error[E0412]: cannot find type `EvalError` in this scope
--> crates/rune-core/src/object/tagged.rs:839:69
|
839 | fn add_trace(err: anyhow::Error, name: &str, args: &[Rt<GcObj>]) -> EvalError {
| ^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
2 + use crate::error::EvalError;
|
|
failed to resolve: could not find `fns` in the crate root:
crates/rune-core/src/bytecode.rs#L281
error[E0433]: failed to resolve: could not find `fns` in the crate root
--> crates/rune-core/src/bytecode.rs:281:31
|
281 | let list = crate::fns::slice_into_list(Rt::bind_slice(slice, cx), None, cx);
| ^^^ could not find `fns` in the crate root
|
failed to resolve: could not find `eval` in the crate root:
crates/rune-core/src/object/tagged.rs#L896
error[E0433]: failed to resolve: could not find `eval` in the crate root
--> crates/rune-core/src/object/tagged.rs:896:32
|
896 | crate::eval::autoload_do_load(self.use_as(), None, None, env, cx)
| ^^^^ could not find `eval` in the crate root
|
beta / clippy
Clippy had exited with the 101 exit code
|
ubuntu / 1.70.0
Process completed with exit code 101.
|
no method named `execute_bytecode` found for mutable reference `&mut bytecode::Routine<'brw>` in the current scope:
crates/rune-core/src/bytecode.rs#L320
error[E0599]: no method named `execute_bytecode` found for mutable reference `&mut bytecode::Routine<'brw>` in the current scope
--> crates/rune-core/src/bytecode.rs:320:34
|
320 | let err = match self.execute_bytecode(env, cx) {
| ^^^^^^^^^^^^^^^^ method not found in `&mut Routine<'brw>`
|
no method named `call` found for struct `object::tagged::Gc` in the current scope:
crates/rune-core/src/object/tagged.rs#L908
error[E0599]: no method named `call` found for struct `object::tagged::Gc` in the current scope
--> crates/rune-core/src/object/tagged.rs:908:30
|
51 | pub struct Gc<T> {
| ---------------- method `call` not found for this struct
...
908 | func.call(args, Some(&name), env, cx)
| ^^^^ method not found in `Gc<Function<'_>>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `call`, perhaps you need to implement it:
candidate #1: `std::ops::Fn`
|
no method named `bind` found for struct `env::symbol::Symbol<'_>` in the current scope:
crates/rune-core/src/object/tagged.rs#L902
error[E0599]: no method named `bind` found for struct `env::symbol::Symbol<'_>` in the current scope
--> crates/rune-core/src/object/tagged.rs:902:40
|
902 | let name = sym.bind(cx).name().to_owned();
| ^^^^ method not found in `Symbol<'_>`
|
::: crates/rune-core/src/env/symbol.rs:42:1
|
42 | pub struct Symbol<'a> {
| --------------------- method `bind` not found for this struct
|
no method named `bind` found for struct `env::symbol::Symbol<'_>` in the current scope:
crates/rune-core/src/object/tagged.rs#L898
error[E0599]: no method named `bind` found for struct `env::symbol::Symbol<'_>` in the current scope
--> crates/rune-core/src/object/tagged.rs:898:46
|
898 | let Some(func) = sym.bind(cx).follow_indirect(cx) else {
| ^^^^ method not found in `Symbol<'_>`
|
::: crates/rune-core/src/env/symbol.rs:42:1
|
42 | pub struct Symbol<'a> {
| --------------------- method `bind` not found for this struct
|
mismatched types:
crates/rune-core/src/object/tagged.rs#L882
error[E0308]: mismatched types
--> crates/rune-core/src/object/tagged.rs:882:39
|
882 | crate::bytecode::call(f, args, name, env, cx)
| --------------------- ^ expected `&Rt<&ByteFn>`, found `&ByteFn`
| |
| arguments to this function are incorrect
|
= note: expected reference `&gc::root::Rt<&'static object::func::ByteFn>`
found reference `&object::func::ByteFn`
note: function defined here
--> crates/rune-core/src/bytecode.rs:362:15
|
362 | pub(crate) fn call<'ob>(
| ^^^^
363 | func: &Rt<&'static ByteFn>,
| --------------------------
|
cannot find function `bind_variables` in this scope:
crates/rune-core/src/object/tagged.rs#L860
error[E0425]: cannot find function `bind_variables` in this scope
--> crates/rune-core/src/object/tagged.rs:860:24
|
860 | let vars = bind_variables(&mut forms, args, name, cx)?;
| ^^^^^^^^^^^^^^ not found in this scope
|
cannot find type `EvalResult` in this scope:
crates/rune-core/src/object/tagged.rs#L875
error[E0412]: cannot find type `EvalResult` in this scope
--> crates/rune-core/src/object/tagged.rs:875:10
|
875 | ) -> EvalResult<'ob> {
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
2 + use crate::error::EvalResult;
|
|
cannot find type `Env` in this scope:
crates/rune-core/src/object/tagged.rs#L873
error[E0412]: cannot find type `Env` in this scope
--> crates/rune-core/src/object/tagged.rs:873:22
|
873 | env: &mut Rt<Env>,
| ^^^ not found in this scope
|
help: consider importing this struct
|
2 + use crate::env::Env;
|
|
cannot find value `forms` in this scope:
crates/rune-core/src/object/tagged.rs#L862
error[E0425]: cannot find value `forms` in this scope
--> crates/rune-core/src/object/tagged.rs:862:54
|
862 | Interpreter { vars, env }.implicit_progn(forms, cx)
| ^^^^^ not found in this scope
|
cannot find struct, variant or union type `Interpreter` in this scope:
crates/rune-core/src/object/tagged.rs#L862
error[E0422]: cannot find struct, variant or union type `Interpreter` in this scope
--> crates/rune-core/src/object/tagged.rs:862:13
|
862 | Interpreter { vars, env }.implicit_progn(forms, cx)
| ^^^^^^^^^^^ not found in this scope
|
cannot find value `forms` in this scope:
crates/rune-core/src/object/tagged.rs#L860
error[E0425]: cannot find value `forms` in this scope
--> crates/rune-core/src/object/tagged.rs:860:44
|
860 | let vars = bind_variables(&mut forms, args, name, cx)?;
| ^^^^^ not found in this scope
|
cannot find type `EvalResult` in this scope:
crates/rune-core/src/object/tagged.rs#L852
error[E0412]: cannot find type `EvalResult` in this scope
--> crates/rune-core/src/object/tagged.rs:852:6
|
852 | ) -> EvalResult<'ob> {
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
2 + use crate::error::EvalResult;
|
|
cannot find type `Env` in this scope:
crates/rune-core/src/object/tagged.rs#L850
error[E0412]: cannot find type `Env` in this scope
--> crates/rune-core/src/object/tagged.rs:850:18
|
850 | env: &mut Rt<Env>,
| ^^^ not found in this scope
|
help: consider importing this struct
|
2 + use crate::env::Env;
|
|
failed to resolve: use of undeclared type `EvalError`:
crates/rune-core/src/object/tagged.rs#L842
error[E0433]: failed to resolve: use of undeclared type `EvalError`
--> crates/rune-core/src/object/tagged.rs:842:19
|
842 | Err(e) => EvalError::with_trace(e, name, args),
| ^^^^^^^^^ use of undeclared type `EvalError`
|
help: consider importing this struct
|
2 + use crate::error::EvalError;
|
|
cannot find type `EvalError` in this scope:
crates/rune-core/src/object/tagged.rs#L840
error[E0412]: cannot find type `EvalError` in this scope
--> crates/rune-core/src/object/tagged.rs:840:26
|
840 | match err.downcast::<EvalError>() {
| ^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
2 + use crate::error::EvalError;
|
|
cannot find type `EvalError` in this scope:
crates/rune-core/src/object/tagged.rs#L839
error[E0412]: cannot find type `EvalError` in this scope
--> crates/rune-core/src/object/tagged.rs:839:69
|
839 | fn add_trace(err: anyhow::Error, name: &str, args: &[Rt<GcObj>]) -> EvalError {
| ^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
2 + use crate::error::EvalError;
|
|
failed to resolve: could not find `fns` in the crate root:
crates/rune-core/src/bytecode.rs#L281
error[E0433]: failed to resolve: could not find `fns` in the crate root
--> crates/rune-core/src/bytecode.rs:281:31
|
281 | let list = crate::fns::slice_into_list(Rt::bind_slice(slice, cx), None, cx);
| ^^^ could not find `fns` in the crate root
|
failed to resolve: could not find `eval` in the crate root:
crates/rune-core/src/object/tagged.rs#L896
error[E0433]: failed to resolve: could not find `eval` in the crate root
--> crates/rune-core/src/object/tagged.rs:896:32
|
896 | crate::eval::autoload_do_load(self.use_as(), None, None, env, cx)
| ^^^^ could not find `eval` in the crate root
|
stable / clippy
Clippy had exited with the 101 exit code
|
`crate` references the macro call's crate:
crates/rune-core/src/lib.rs#L22
warning: `crate` references the macro call's crate
--> crates/rune-core/src/lib.rs:22:41
|
22 | impl<'ob> std::convert::TryFrom<crate::object::GcObj<'ob>> for $self {
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
|
`crate` references the macro call's crate:
crates/rune-core/src/debug.rs#L25
warning: `crate` references the macro call's crate
--> crates/rune-core/src/debug.rs:25:12
|
25 | if crate::debug::debug_enabled() {
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
= note: `-W clippy::crate-in-macro-def` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::crate_in_macro_def)]`
|
unused imports: `Gc`, `LispString`:
crates/rune-core/src/bytecode.rs#L5
warning: unused imports: `Gc`, `LispString`
--> crates/rune-core/src/bytecode.rs:5:34
|
5 | use crate::object::{nil, ByteFn, Gc, GcObj, LispString, LispVec, Object, WithLifetime};
| ^^ ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
beta / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
`crate` references the macro call's crate:
crates/rune-core/src/lib.rs#L22
warning: `crate` references the macro call's crate
--> crates/rune-core/src/lib.rs:22:41
|
22 | impl<'ob> std::convert::TryFrom<crate::object::GcObj<'ob>> for $self {
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
|
`crate` references the macro call's crate:
crates/rune-core/src/debug.rs#L25
warning: `crate` references the macro call's crate
--> crates/rune-core/src/debug.rs:25:12
|
25 | if crate::debug::debug_enabled() {
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
= note: `-W clippy::crate-in-macro-def` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::crate_in_macro_def)]`
|
unused imports: `Gc`, `LispString`:
crates/rune-core/src/bytecode.rs#L5
warning: unused imports: `Gc`, `LispString`
--> crates/rune-core/src/bytecode.rs:5:34
|
5 | use crate::object::{nil, ByteFn, Gc, GcObj, LispString, LispVec, Object, WithLifetime};
| ^^ ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
stable / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|