Skip to content

WIP: Move routine to core and start migrating from fns, data #46

WIP: Move routine to core and start migrating from fns, data

WIP: Move routine to core and start migrating from fns, data #46

Triggered via push December 5, 2023 17:21
Status Failure
Total duration 3m 5s
Artifacts

check.yml

on: push
stable / fmt
6s
stable / fmt
nightly / doc
2m 36s
nightly / doc
Matrix: clippy
Matrix: msrv
Fit to window
Zoom out
Zoom in

Annotations

115 errors and 6 warnings
stable / fmt
Process completed with exit code 1.
nightly / doc
Process completed with exit code 101.
failed to resolve: use of undeclared crate or module `sym`: crates/rune-core/src/routine.rs#L698
error[E0433]: failed to resolve: use of undeclared crate or module `sym` --> crates/rune-core/src/routine.rs:698:27 | 698 | cons!(sym::ERROR, format!("{err}"); cx) | ^^^ use of undeclared crate or module `sym`
failed to resolve: use of undeclared crate or module `alloc`: crates/rune-core/src/routine.rs#L576
error[E0433]: failed to resolve: use of undeclared crate or module `alloc` --> crates/rune-core/src/routine.rs:576:32 | 576 | let list = alloc::list(slice, cx); | ^^^^^ use of undeclared crate or module `alloc` | = help: add `extern crate alloc` to use the `alloc` crate
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L571
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:571:29 | 571 | top.set(data::integerp(top.bind(cx))); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L567
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:567:29 | 567 | top.set(data::numberp(top.bind(cx))); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L561
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:561:29 | 561 | top.set(fns::nconc(&[top.bind_as(cx)?, list2.try_into()?])?); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L556
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:556:29 | 556 | top.set(data::cdr_safe(top.bind(cx))); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L552
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:552:29 | 552 | top.set(data::car_safe(top.bind(cx))); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L548
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:548:29 | 548 | top.set(data::setcdr(top.bind_as(cx)?, newcdr)?); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L543
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:543:29 | 543 | top.set(data::setcar(top.bind_as(cx)?, newcar)?); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L538
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:538:29 | 538 | elt.set(fns::nreverse(elt.bind_as(cx)?)?); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L534
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:534:29 | 534 | top.set(fns::assq(top.bind(cx), alist.try_into()?)?); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L529
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:529:29 | 529 | top.set(fns::member(top.bind(cx), list.try_into()?)?); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L524
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:524:29 | 524 | top.set(fns::elt(top.bind(cx), n.try_into()?)?); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L519
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:519:29 | 519 | top.set(fns::nthcdr(top.bind_as(cx)?, list.try_into()?)?.copy_as_obj(cx)); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L403
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:403:36 | 403 | top.set(cx.add(arith::mul(args))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L397
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:397:36 | 397 | top.set(cx.add(arith::min(top.bind_as(cx)?, args))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L391
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:391:36 | 391 | top.set(cx.add(arith::max(top.bind_as(cx)?, args))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L385
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:385:36 | 385 | top.set(cx.add(arith::add(args))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L379
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:379:36 | 379 | top.set(cx.add(arith::sub(top.bind_as(cx)?, &[]))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L374
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:374:29 | 374 | top.set(arith::greater_than_or_eq(top.bind_as(cx)?, v1)); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L369
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:369:29 | 369 | top.set(arith::less_than_or_eq(top.bind_as(cx)?, &[v1.try_into()?])); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L364
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:364:29 | 364 | top.set(arith::less_than(top.bind_as(cx)?, &[v1.try_into()?])); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L359
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:359:29 | 359 | top.set(arith::greater_than(top.bind_as(cx)?, &[v1.try_into()?])); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L354
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:354:38 | 354 | top.set::<GcObj>(arith::num_eq(top.bind_as(cx)?, &[rhs.try_into()?]).into()); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L349
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:349:36 | 349 | top.set(cx.add(arith::add_one(top.bind_as(cx)?))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L345
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:345:36 | 345 | top.set(cx.add(arith::sub_one(top.bind_as(cx)?))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L337
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:337:29 | 337 | top.set(data::get(top.bind_as(cx)?, prop.try_into()?, env, cx)); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L332
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:332:38 | 332 | top.set::<GcObj>(data::fset(top.bind_as(cx)?, def)?.into()); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L327
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:327:29 | 327 | top.set(data::set(top.bind_as(cx)?, newlet, env)?); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L322
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:322:29 | 322 | top.set(data::symbol_function(top.bind_as(cx)?, cx)); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L318
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:318:29 | 318 | top.set(data::symbol_value(top.bind_as(cx)?, env, cx).unwrap_or_default()); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L314
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:314:29 | 314 | top.set(data::aset(top.bind(cx), idx.try_into()?, newlet)?); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L308
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:308:29 | 308 | top.set(data::aref(top.bind(cx), idx.try_into()?)?); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L303
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:303:29 | 303 | top.set(fns::length(top.bind(cx))? as i64); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `alloc`: crates/rune-core/src/routine.rs#L299
error[E0433]: failed to resolve: use of undeclared crate or module `alloc` --> crates/rune-core/src/routine.rs:299:29 | 299 | top.set(alloc::list(&[top.bind(cx), a2, a3, a4], cx)); | ^^^^^ use of undeclared crate or module `alloc` | = help: add `extern crate alloc` to use the `alloc` crate
failed to resolve: use of undeclared crate or module `alloc`: crates/rune-core/src/routine.rs#L292
error[E0433]: failed to resolve: use of undeclared crate or module `alloc` --> crates/rune-core/src/routine.rs:292:29 | 292 | top.set(alloc::list(&[top.bind(cx), a2, a3], cx)); | ^^^^^ use of undeclared crate or module `alloc` | = help: add `extern crate alloc` to use the `alloc` crate
failed to resolve: use of undeclared crate or module `alloc`: crates/rune-core/src/routine.rs#L286
error[E0433]: failed to resolve: use of undeclared crate or module `alloc` --> crates/rune-core/src/routine.rs:286:29 | 286 | top.set(alloc::list(&[top.bind(cx), a2], cx)); | ^^^^^ use of undeclared crate or module `alloc` | = help: add `extern crate alloc` to use the `alloc` crate
failed to resolve: use of undeclared crate or module `alloc`: crates/rune-core/src/routine.rs#L281
error[E0433]: failed to resolve: use of undeclared crate or module `alloc` --> crates/rune-core/src/routine.rs:281:29 | 281 | top.set(alloc::list(&[top.bind(cx)], cx)); | ^^^^^ use of undeclared crate or module `alloc` | = help: add `extern crate alloc` to use the `alloc` crate
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L277
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:277:29 | 277 | car.set(data::cons(car.bind(cx), cdr, cx)); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L272
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:272:29 | 272 | top.set(data::cdr(top.bind_as(cx)?)); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L268
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:268:29 | 268 | top.set(data::car(top.bind_as(cx)?)); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L264
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:264:29 | 264 | top.set(data::null(top.bind(cx))); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L260
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:260:29 | 260 | elt.set(fns::memq(elt.bind(cx), list)?); | ^^^ use of undeclared crate or module `fns`
the trait bound `std::result::Result<object::tagged::Gc<object::tagged::Object<'_>>, anyhow::Error>: object::tagged::WithLifetime<'static>` is not satisfied: crates/rune-core/src/routine.rs#L259
error[E0277]: the trait bound `std::result::Result<object::tagged::Gc<object::tagged::Object<'_>>, anyhow::Error>: object::tagged::WithLifetime<'static>` is not satisfied --> crates/rune-core/src/routine.rs:259:29 | 259 | elt.set(list.find(elt.bind(cx))); | --- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `object::tagged::WithLifetime<'static>` is not implemented for `std::result::Result<object::tagged::Gc<object::tagged::Object<'_>>, anyhow::Error>` | | | required by a bound introduced by this call | = help: the following other types implement trait `object::tagged::WithLifetime<'new>`: i64 env::symbol::Symbol<'old> object::buffer::OpenBuffer<'old> object::tagged::Gc<T> object::tagged::Number<'old> object::tagged::List<'old> object::tagged::Function<'old> object::tagged::Object<'old> and 7 others note: required for `std::result::Result<object::tagged::Gc<object::tagged::Object<'_>>, anyhow::Error>` to implement `gc::root::IntoRoot<object::tagged::Gc<object::tagged::Object<'static>>>` --> crates/rune-core/src/gc/root.rs:29:12 | 29 | impl<T, U> IntoRoot<U> for T | ^^^^^^^^^^^ ^ 30 | where 31 | T: WithLifetime<'static, Out = U>, | ------------------------------ unsatisfied trait bound introduced here note: required by a bound in `gc::root::Rt::<object::tagged::Gc<T>>::set` --> crates/rune-core/src/gc/root.rs:342:12 | 340 | pub fn set<U>(&mut self, item: U) | --- required by a bound in this associated function 341 | where 342 | U: IntoRoot<Gc<T>>, | ^^^^^^^^^^^^^^^ required by this bound in `Rt::<Gc<T>>::set`
this method takes 2 arguments but 1 argument was supplied: crates/rune-core/src/routine.rs#L259
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> crates/rune-core/src/routine.rs:259:34 | 259 | elt.set(list.find(elt.bind(cx))); | ^^^^-------------- an argument of type `for<'ob> fn(object::tagged::Gc<object::tagged::Object<'ob>>, object::tagged::Gc<object::tagged::Object<'ob>>) -> bool` is missing | note: method defined here --> crates/rune-core/src/cons/iter.rs:224:12 | 224 | pub fn find(self, element: GcObj<'ob>, func: EqFunc) -> Result<GcObj> { | ^^^^ ------------------- ------------ help: provide the argument | 259 | elt.set(list.find(elt.bind(cx), /* for<'ob> fn(object::tagged::Gc<object::tagged::Object<'ob>>, object::tagged::Gc<object::tagged::Object<'ob>>) -> bool */)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cannot find function `bind_args` in this scope: crates/rune-core/src/object/tagged.rs#L874
error[E0425]: cannot find function `bind_args` in this scope --> crates/rune-core/src/object/tagged.rs:874:5 | 874 | bind_args(arg_list.bind(cx), args, &mut vars, name, cx)?; | ^^^^^^^^^ not found in this scope
the method `next` exists for mutable reference `&mut ElemStreamIter<'_>`, but its trait bounds were not satisfied: crates/rune-core/src/object/tagged.rs#L873
error[E0599]: the method `next` exists for mutable reference `&mut ElemStreamIter<'_>`, but its trait bounds were not satisfied --> crates/rune-core/src/object/tagged.rs:873:32 | 873 | let Some(arg_list) = forms.next()? else { bail!("Closure missing argument list") }; | ^^^^ method cannot be called on `&mut ElemStreamIter<'_>` due to unsatisfied trait bounds | ::: crates/rune-core/src/cons/iter.rs:102:1 | 102 | pub struct ElemStreamIter<'rt> { | ------------------------------ doesn't satisfy `_: Iterator` | = note: the following trait bounds were not satisfied: `cons::iter::ElemStreamIter<'_>: std::iter::Iterator` which is required by `&mut cons::iter::ElemStreamIter<'_>: std::iter::Iterator` note: the trait `std::iter::Iterator` must be implemented --> /rustc/1a06ac5b5d7c9331e8de1aa1fd7e9d3533034b44/library/core/src/iter/traits/iterator.rs:75:1 = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 2 + use fallible_streaming_iterator::FallibleStreamingIterator; |
cannot find function `parse_closure_env` in this scope: crates/rune-core/src/object/tagged.rs#L868
error[E0425]: cannot find function `parse_closure_env` in this scope --> crates/rune-core/src/object/tagged.rs:868:20 | 868 | let mut vars = parse_closure_env(env.bind(cx))?; | ^^^^^^^^^^^^^^^^^ not found in this scope
the method `next` exists for mutable reference `&mut ElemStreamIter<'_>`, but its trait bounds were not satisfied: crates/rune-core/src/object/tagged.rs#L867
error[E0599]: the method `next` exists for mutable reference `&mut ElemStreamIter<'_>`, but its trait bounds were not satisfied --> crates/rune-core/src/object/tagged.rs:867:27 | 867 | let Some(env) = forms.next()? else { bail!("Closure missing environment") }; | ^^^^ method cannot be called on `&mut ElemStreamIter<'_>` due to unsatisfied trait bounds | ::: crates/rune-core/src/cons/iter.rs:102:1 | 102 | pub struct ElemStreamIter<'rt> { | ------------------------------ doesn't satisfy `_: Iterator` | = note: the following trait bounds were not satisfied: `cons::iter::ElemStreamIter<'_>: std::iter::Iterator` which is required by `&mut cons::iter::ElemStreamIter<'_>: std::iter::Iterator` note: the trait `std::iter::Iterator` must be implemented --> /rustc/1a06ac5b5d7c9331e8de1aa1fd7e9d3533034b44/library/core/src/iter/traits/iterator.rs:75:1 = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 2 + use fallible_streaming_iterator::FallibleStreamingIterator; |
failed to resolve: use of undeclared type `ErrorType`: crates/rune-core/src/routine.rs#L690
error[E0433]: failed to resolve: use of undeclared type `ErrorType` --> crates/rune-core/src/routine.rs:690:55 | 690 | let error = if let EvalError { error: ErrorType::Signal(id), .. } = err { | ^^^^^^^^^ use of undeclared type `ErrorType` | help: consider importing this enum | 1 + use crate::error::ErrorType; |
failed to resolve: use of undeclared crate or module `sym`: crates/rune-core/src/routine.rs#L682
error[E0433]: failed to resolve: use of undeclared crate or module `sym` --> crates/rune-core/src/routine.rs:682:72 | 682 | ... if condition != sym::DEBUG && condition != sym::ERROR { | ^^^ use of undeclared crate or module `sym` | help: consider importing this module | 1 + use crate::env::sym; |
failed to resolve: use of undeclared crate or module `sym`: crates/rune-core/src/routine.rs#L682
error[E0433]: failed to resolve: use of undeclared crate or module `sym` --> crates/rune-core/src/routine.rs:682:45 | 682 | ... if condition != sym::DEBUG && condition != sym::ERROR { | ^^^ use of undeclared crate or module `sym` | help: consider importing this module | 1 + use crate::env::sym; |
failed to resolve: use of undeclared crate or module `sym`: crates/rune-core/src/routine.rs#L677
error[E0433]: failed to resolve: use of undeclared crate or module `sym` --> crates/rune-core/src/routine.rs:677:36 | 677 | Object::Symbol(sym::ERROR) => {} | ^^^ use of undeclared crate or module `sym` | help: consider importing this module | 1 + use crate::env::sym; |
cannot find struct, variant or union type `Interpreter` in this scope: crates/rune-core/src/object/tagged.rs#L894
error[E0422]: cannot find struct, variant or union type `Interpreter` in this scope --> crates/rune-core/src/object/tagged.rs:894:13 | 894 | Interpreter { vars, env }.implicit_progn(forms, cx) | ^^^^^^^^^^^ not found in this scope
failed to resolve: could not find `eval` in the crate root: crates/rune-core/src/object/tagged.rs#L928
error[E0433]: failed to resolve: could not find `eval` in the crate root --> crates/rune-core/src/object/tagged.rs:928:32 | 928 | crate::eval::autoload_do_load(self.use_as(), None, None, env, cx) | ^^^^ could not find `eval` in the crate root
failed to resolve: use of undeclared crate or module `sym`: crates/rune-core/src/routine.rs#L698
error[E0433]: failed to resolve: use of undeclared crate or module `sym` --> crates/rune-core/src/routine.rs:698:27 | 698 | cons!(sym::ERROR, format!("{err}"); cx) | ^^^ use of undeclared crate or module `sym`
failed to resolve: use of undeclared crate or module `alloc`: crates/rune-core/src/routine.rs#L576
error[E0433]: failed to resolve: use of undeclared crate or module `alloc` --> crates/rune-core/src/routine.rs:576:32 | 576 | let list = alloc::list(slice, cx); | ^^^^^ use of undeclared crate or module `alloc` | = help: add `extern crate alloc` to use the `alloc` crate
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L571
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:571:29 | 571 | top.set(data::integerp(top.bind(cx))); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L567
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:567:29 | 567 | top.set(data::numberp(top.bind(cx))); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L561
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:561:29 | 561 | top.set(fns::nconc(&[top.bind_as(cx)?, list2.try_into()?])?); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L556
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:556:29 | 556 | top.set(data::cdr_safe(top.bind(cx))); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L552
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:552:29 | 552 | top.set(data::car_safe(top.bind(cx))); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L548
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:548:29 | 548 | top.set(data::setcdr(top.bind_as(cx)?, newcdr)?); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L543
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:543:29 | 543 | top.set(data::setcar(top.bind_as(cx)?, newcar)?); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L538
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:538:29 | 538 | elt.set(fns::nreverse(elt.bind_as(cx)?)?); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L534
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:534:29 | 534 | top.set(fns::assq(top.bind(cx), alist.try_into()?)?); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L529
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:529:29 | 529 | top.set(fns::member(top.bind(cx), list.try_into()?)?); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L524
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:524:29 | 524 | top.set(fns::elt(top.bind(cx), n.try_into()?)?); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L519
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:519:29 | 519 | top.set(fns::nthcdr(top.bind_as(cx)?, list.try_into()?)?.copy_as_obj(cx)); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L403
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:403:36 | 403 | top.set(cx.add(arith::mul(args))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L397
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:397:36 | 397 | top.set(cx.add(arith::min(top.bind_as(cx)?, args))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L391
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:391:36 | 391 | top.set(cx.add(arith::max(top.bind_as(cx)?, args))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L385
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:385:36 | 385 | top.set(cx.add(arith::add(args))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L379
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:379:36 | 379 | top.set(cx.add(arith::sub(top.bind_as(cx)?, &[]))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L374
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:374:29 | 374 | top.set(arith::greater_than_or_eq(top.bind_as(cx)?, v1)); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L369
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:369:29 | 369 | top.set(arith::less_than_or_eq(top.bind_as(cx)?, &[v1.try_into()?])); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L364
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:364:29 | 364 | top.set(arith::less_than(top.bind_as(cx)?, &[v1.try_into()?])); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L359
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:359:29 | 359 | top.set(arith::greater_than(top.bind_as(cx)?, &[v1.try_into()?])); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L354
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:354:38 | 354 | top.set::<GcObj>(arith::num_eq(top.bind_as(cx)?, &[rhs.try_into()?]).into()); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L349
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:349:36 | 349 | top.set(cx.add(arith::add_one(top.bind_as(cx)?))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `arith`: crates/rune-core/src/routine.rs#L345
error[E0433]: failed to resolve: use of undeclared crate or module `arith` --> crates/rune-core/src/routine.rs:345:36 | 345 | top.set(cx.add(arith::sub_one(top.bind_as(cx)?))); | ^^^^^ use of undeclared crate or module `arith`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L337
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:337:29 | 337 | top.set(data::get(top.bind_as(cx)?, prop.try_into()?, env, cx)); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L332
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:332:38 | 332 | top.set::<GcObj>(data::fset(top.bind_as(cx)?, def)?.into()); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L327
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:327:29 | 327 | top.set(data::set(top.bind_as(cx)?, newlet, env)?); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L322
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:322:29 | 322 | top.set(data::symbol_function(top.bind_as(cx)?, cx)); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L318
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:318:29 | 318 | top.set(data::symbol_value(top.bind_as(cx)?, env, cx).unwrap_or_default()); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L314
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:314:29 | 314 | top.set(data::aset(top.bind(cx), idx.try_into()?, newlet)?); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L308
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:308:29 | 308 | top.set(data::aref(top.bind(cx), idx.try_into()?)?); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L303
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:303:29 | 303 | top.set(fns::length(top.bind(cx))? as i64); | ^^^ use of undeclared crate or module `fns`
failed to resolve: use of undeclared crate or module `alloc`: crates/rune-core/src/routine.rs#L299
error[E0433]: failed to resolve: use of undeclared crate or module `alloc` --> crates/rune-core/src/routine.rs:299:29 | 299 | top.set(alloc::list(&[top.bind(cx), a2, a3, a4], cx)); | ^^^^^ use of undeclared crate or module `alloc` | = help: add `extern crate alloc` to use the `alloc` crate
failed to resolve: use of undeclared crate or module `alloc`: crates/rune-core/src/routine.rs#L292
error[E0433]: failed to resolve: use of undeclared crate or module `alloc` --> crates/rune-core/src/routine.rs:292:29 | 292 | top.set(alloc::list(&[top.bind(cx), a2, a3], cx)); | ^^^^^ use of undeclared crate or module `alloc` | = help: add `extern crate alloc` to use the `alloc` crate
failed to resolve: use of undeclared crate or module `alloc`: crates/rune-core/src/routine.rs#L286
error[E0433]: failed to resolve: use of undeclared crate or module `alloc` --> crates/rune-core/src/routine.rs:286:29 | 286 | top.set(alloc::list(&[top.bind(cx), a2], cx)); | ^^^^^ use of undeclared crate or module `alloc` | = help: add `extern crate alloc` to use the `alloc` crate
failed to resolve: use of undeclared crate or module `alloc`: crates/rune-core/src/routine.rs#L281
error[E0433]: failed to resolve: use of undeclared crate or module `alloc` --> crates/rune-core/src/routine.rs:281:29 | 281 | top.set(alloc::list(&[top.bind(cx)], cx)); | ^^^^^ use of undeclared crate or module `alloc` | = help: add `extern crate alloc` to use the `alloc` crate
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L277
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:277:29 | 277 | car.set(data::cons(car.bind(cx), cdr, cx)); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L272
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:272:29 | 272 | top.set(data::cdr(top.bind_as(cx)?)); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L268
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:268:29 | 268 | top.set(data::car(top.bind_as(cx)?)); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `data`: crates/rune-core/src/routine.rs#L264
error[E0433]: failed to resolve: use of undeclared crate or module `data` --> crates/rune-core/src/routine.rs:264:29 | 264 | top.set(data::null(top.bind(cx))); | ^^^^ use of undeclared crate or module `data`
failed to resolve: use of undeclared crate or module `fns`: crates/rune-core/src/routine.rs#L260
error[E0433]: failed to resolve: use of undeclared crate or module `fns` --> crates/rune-core/src/routine.rs:260:29 | 260 | elt.set(fns::memq(elt.bind(cx), list)?); | ^^^ use of undeclared crate or module `fns`
the trait bound `std::result::Result<object::tagged::Gc<object::tagged::Object<'_>>, anyhow::Error>: object::tagged::WithLifetime<'static>` is not satisfied: crates/rune-core/src/routine.rs#L259
error[E0277]: the trait bound `std::result::Result<object::tagged::Gc<object::tagged::Object<'_>>, anyhow::Error>: object::tagged::WithLifetime<'static>` is not satisfied --> crates/rune-core/src/routine.rs:259:29 | 259 | elt.set(list.find(elt.bind(cx))); | --- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `object::tagged::WithLifetime<'static>` is not implemented for `std::result::Result<object::tagged::Gc<object::tagged::Object<'_>>, anyhow::Error>` | | | required by a bound introduced by this call | = help: the following other types implement trait `object::tagged::WithLifetime<'new>`: i64 env::symbol::Symbol<'old> object::buffer::OpenBuffer<'old> object::tagged::Gc<T> object::tagged::Number<'old> object::tagged::List<'old> object::tagged::Function<'old> object::tagged::Object<'old> and 7 others note: required for `std::result::Result<object::tagged::Gc<object::tagged::Object<'_>>, anyhow::Error>` to implement `gc::root::IntoRoot<object::tagged::Gc<object::tagged::Object<'static>>>` --> crates/rune-core/src/gc/root.rs:29:12 | 29 | impl<T, U> IntoRoot<U> for T | ^^^^^^^^^^^ ^ 30 | where 31 | T: WithLifetime<'static, Out = U>, | ------------------------------ unsatisfied trait bound introduced here note: required by a bound in `gc::root::Rt::<object::tagged::Gc<T>>::set` --> crates/rune-core/src/gc/root.rs:342:12 | 340 | pub fn set<U>(&mut self, item: U) | --- required by a bound in this associated function 341 | where 342 | U: IntoRoot<Gc<T>>, | ^^^^^^^^^^^^^^^ required by this bound in `Rt::<Gc<T>>::set`
this method takes 2 arguments but 1 argument was supplied: crates/rune-core/src/routine.rs#L259
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> crates/rune-core/src/routine.rs:259:34 | 259 | elt.set(list.find(elt.bind(cx))); | ^^^^-------------- an argument of type `for<'ob> fn(object::tagged::Gc<object::tagged::Object<'ob>>, object::tagged::Gc<object::tagged::Object<'ob>>) -> bool` is missing | note: method defined here --> crates/rune-core/src/cons/iter.rs:224:12 | 224 | pub fn find(self, element: GcObj<'ob>, func: EqFunc) -> Result<GcObj> { | ^^^^ ------------------- ------------ help: provide the argument | 259 | elt.set(list.find(elt.bind(cx), /* for<'ob> fn(object::tagged::Gc<object::tagged::Object<'ob>>, object::tagged::Gc<object::tagged::Object<'ob>>) -> bool */)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cannot find function `bind_args` in this scope: crates/rune-core/src/object/tagged.rs#L874
error[E0425]: cannot find function `bind_args` in this scope --> crates/rune-core/src/object/tagged.rs:874:5 | 874 | bind_args(arg_list.bind(cx), args, &mut vars, name, cx)?; | ^^^^^^^^^ not found in this scope
the method `next` exists for mutable reference `&mut ElemStreamIter<'_>`, but its trait bounds were not satisfied: crates/rune-core/src/object/tagged.rs#L873
error[E0599]: the method `next` exists for mutable reference `&mut ElemStreamIter<'_>`, but its trait bounds were not satisfied --> crates/rune-core/src/object/tagged.rs:873:32 | 873 | let Some(arg_list) = forms.next()? else { bail!("Closure missing argument list") }; | ^^^^ method cannot be called on `&mut ElemStreamIter<'_>` due to unsatisfied trait bounds | ::: crates/rune-core/src/cons/iter.rs:102:1 | 102 | pub struct ElemStreamIter<'rt> { | ------------------------------ doesn't satisfy `_: Iterator` | = note: the following trait bounds were not satisfied: `cons::iter::ElemStreamIter<'_>: std::iter::Iterator` which is required by `&mut cons::iter::ElemStreamIter<'_>: std::iter::Iterator` note: the trait `std::iter::Iterator` must be implemented --> /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/iter/traits/iterator.rs:74:1 = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 2 + use fallible_streaming_iterator::FallibleStreamingIterator; |
cannot find function `parse_closure_env` in this scope: crates/rune-core/src/object/tagged.rs#L868
error[E0425]: cannot find function `parse_closure_env` in this scope --> crates/rune-core/src/object/tagged.rs:868:20 | 868 | let mut vars = parse_closure_env(env.bind(cx))?; | ^^^^^^^^^^^^^^^^^ not found in this scope
the method `next` exists for mutable reference `&mut ElemStreamIter<'_>`, but its trait bounds were not satisfied: crates/rune-core/src/object/tagged.rs#L867
error[E0599]: the method `next` exists for mutable reference `&mut ElemStreamIter<'_>`, but its trait bounds were not satisfied --> crates/rune-core/src/object/tagged.rs:867:27 | 867 | let Some(env) = forms.next()? else { bail!("Closure missing environment") }; | ^^^^ method cannot be called on `&mut ElemStreamIter<'_>` due to unsatisfied trait bounds | ::: crates/rune-core/src/cons/iter.rs:102:1 | 102 | pub struct ElemStreamIter<'rt> { | ------------------------------ doesn't satisfy `_: Iterator` | = note: the following trait bounds were not satisfied: `cons::iter::ElemStreamIter<'_>: std::iter::Iterator` which is required by `&mut cons::iter::ElemStreamIter<'_>: std::iter::Iterator` note: the trait `std::iter::Iterator` must be implemented --> /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/iter/traits/iterator.rs:74:1 = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 2 + use fallible_streaming_iterator::FallibleStreamingIterator; |
failed to resolve: use of undeclared type `ErrorType`: crates/rune-core/src/routine.rs#L690
error[E0433]: failed to resolve: use of undeclared type `ErrorType` --> crates/rune-core/src/routine.rs:690:55 | 690 | let error = if let EvalError { error: ErrorType::Signal(id), .. } = err { | ^^^^^^^^^ use of undeclared type `ErrorType` | help: consider importing this enum | 1 + use crate::error::ErrorType; |
failed to resolve: use of undeclared crate or module `sym`: crates/rune-core/src/routine.rs#L682
error[E0433]: failed to resolve: use of undeclared crate or module `sym` --> crates/rune-core/src/routine.rs:682:72 | 682 | ... if condition != sym::DEBUG && condition != sym::ERROR { | ^^^ use of undeclared crate or module `sym` | help: consider importing this module | 1 + use crate::env::sym; |
failed to resolve: use of undeclared crate or module `sym`: crates/rune-core/src/routine.rs#L682
error[E0433]: failed to resolve: use of undeclared crate or module `sym` --> crates/rune-core/src/routine.rs:682:45 | 682 | ... if condition != sym::DEBUG && condition != sym::ERROR { | ^^^ use of undeclared crate or module `sym` | help: consider importing this module | 1 + use crate::env::sym; |
failed to resolve: use of undeclared crate or module `sym`: crates/rune-core/src/routine.rs#L677
error[E0433]: failed to resolve: use of undeclared crate or module `sym` --> crates/rune-core/src/routine.rs:677:36 | 677 | Object::Symbol(sym::ERROR) => {} | ^^^ use of undeclared crate or module `sym` | help: consider importing this module | 1 + use crate::env::sym; |
cannot find struct, variant or union type `Interpreter` in this scope: crates/rune-core/src/object/tagged.rs#L894
error[E0422]: cannot find struct, variant or union type `Interpreter` in this scope --> crates/rune-core/src/object/tagged.rs:894:13 | 894 | Interpreter { vars, env }.implicit_progn(forms, cx) | ^^^^^^^^^^^ not found in this scope
failed to resolve: could not find `eval` in the crate root: crates/rune-core/src/object/tagged.rs#L928
error[E0433]: failed to resolve: could not find `eval` in the crate root --> crates/rune-core/src/object/tagged.rs:928:32 | 928 | 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
stable / clippy
Clippy had exited with the 101 exit code
ubuntu / 1.70.0
Process completed with exit code 101.
`crate` references the macro call's crate: crates/rune-core/src/lib.rs#L23
warning: `crate` references the macro call's crate --> crates/rune-core/src/lib.rs:23:41 | 23 | 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)]`
`crate` references the macro call's crate: crates/rune-core/src/lib.rs#L23
warning: `crate` references the macro call's crate --> crates/rune-core/src/lib.rs:23:41 | 23 | 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)]`
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/
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/