[INFO] cloning repository https://github.com/LaSpruca/skaf
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LaSpruca/skaf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaSpruca%2Fskaf", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaSpruca%2Fskaf'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 08d3548f6329b38929b55b83ac2ae617095fddbf
[INFO] checking LaSpruca/skaf against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaSpruca%2Fskaf" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LaSpruca/skaf
[INFO] finished tweaking git repo https://github.com/LaSpruca/skaf
[INFO] tweaked toml for git repo https://github.com/LaSpruca/skaf written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LaSpruca/skaf on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LaSpruca/skaf 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 13056266c8b0ff19b521749c0620182b22ca7a499355b0ddb318a22d21743a08
[INFO] running `Command { std: "docker" "start" "13056266c8b0ff19b521749c0620182b22ca7a499355b0ddb318a22d21743a08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "13056266c8b0ff19b521749c0620182b22ca7a499355b0ddb318a22d21743a08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "13056266c8b0ff19b521749c0620182b22ca7a499355b0ddb318a22d21743a08" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "13056266c8b0ff19b521749c0620182b22ca7a499355b0ddb318a22d21743a08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "13056266c8b0ff19b521749c0620182b22ca7a499355b0ddb318a22d21743a08" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]     Checking proc-macro2 v1.0.106
[INFO] [stderr]     Checking quote v1.0.45
[INFO] [stderr]     Checking skaf-macros v0.1.0 (/opt/rustwide/workdir/crates/skaf-macros)
[INFO] [stderr]     Checking skaf v0.1.0 (/opt/rustwide/workdir/crates/skaf)
[INFO] [stdout] error[E0432]: unresolved import `crate::parser::lex`
[INFO] [stdout]  --> crates/skaf/src/engine/mod.rs:6:41
[INFO] [stdout]   |
[INFO] [stdout] 6 |     parser::{Identifier, Object, Value, lex::Lexer, parse},
[INFO] [stdout]   |                                         ^^^ could not find `lex` in `parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `span::Position`
[INFO] [stdout]  --> crates/skaf/src/parser/mod.rs:1:71
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{error::Error, parser::tracked_char_iter::TrackedCharIter, span::Position};
[INFO] [stdout]   |                                                                       ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::parser::lex`
[INFO] [stdout]  --> crates/skaf/src/engine/mod.rs:6:41
[INFO] [stdout]   |
[INFO] [stdout] 6 |     parser::{Identifier, Object, Value, lex::Lexer, parse},
[INFO] [stdout]   |                                         ^^^ could not find `lex` in `parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `span::Position`
[INFO] [stdout]  --> crates/skaf/src/parser/mod.rs:1:71
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{error::Error, parser::tracked_char_iter::TrackedCharIter, span::Position};
[INFO] [stdout]   |                                                                       ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:145:42
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 value: ProxyValue::Value(v.clone()),
[INFO] [stdout]     |                        ----------------- ^^^^^^^^^ expected `String`, found `StringRef`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `StringRef` due to the type of the argument passed
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:145:24
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 value: ProxyValue::Value(v.clone()),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^---------^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          this argument influences the type of `Value`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> crates/skaf/src/engine/proxy.rs:43:5
[INFO] [stdout]     |
[INFO] [stdout]  43 |     Value(T),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: Borrow<StringRef>` is not satisfied
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:167:25
[INFO] [stdout]     |
[INFO] [stdout] 167 |                         self.functions[function].make_args(values, self),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]       but trait `Borrow<str>` is implemented for it
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/str.rs:239:0
[INFO] [stdout]     = help: for that trait implementation, expected `str`, found `StringRef`
[INFO] [stdout]     = note: required for `HashMap<String, Box<(dyn Function + 'static)>>` to implement `Index<&StringRef>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: Borrow<StringRef>` is not satisfied
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:167:40
[INFO] [stdout]     |
[INFO] [stdout] 167 |                         self.functions[function].make_args(values, self),
[INFO] [stdout]     |                                        ^^^^^^^^ the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]       but trait `Borrow<str>` is implemented for it
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/str.rs:239:0
[INFO] [stdout]     = help: for that trait implementation, expected `str`, found `StringRef`
[INFO] [stdout]     = note: required for `HashMap<String, Box<(dyn Function + 'static)>>` to implement `Index<&StringRef>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:167:60
[INFO] [stdout]     |
[INFO] [stdout] 167 |                         self.functions[function].make_args(values, self),
[INFO] [stdout]     |                                                  --------- ^^^^^^ expected `&Vec<Value>`, found `&ArgRef`
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Vec<Value>`
[INFO] [stdout]                found reference `&ArgRef`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:337:8
[INFO] [stdout]     |
[INFO] [stdout] 337 |     fn make_args(&self, values: &Vec<Value>, engine: &Engine) -> Vec<Proxy<Box<dyn Any>>>;
[INFO] [stdout]     |        ^^^^^^^^^        ------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:166:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |                     ProxyValue::Expression(
[INFO] [stdout]     |                     ---------------------- arguments to this enum variant are incorrect
[INFO] [stdout] 166 |                         function.clone(),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ expected `String`, found `StringRef`
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> crates/skaf/src/engine/proxy.rs:45:5
[INFO] [stdout]     |
[INFO] [stdout]  45 |     Expression(String, Vec<Proxy<Box<dyn Any>>>),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:170:84
[INFO] [stdout]     |
[INFO] [stdout] 170 |                 crate::parser::ValueVariant::Query(ref items) => ProxyValue::Query(items.clone()),
[INFO] [stdout]     |                                                                  ----------------- ^^^^^^^^^^^^^ expected `Vec<String>`, found `QueryRef`
[INFO] [stdout]     |                                                                  |
[INFO] [stdout]     |                                                                  arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<String>`
[INFO] [stdout]                found struct `QueryRef`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> crates/skaf/src/engine/proxy.rs:44:5
[INFO] [stdout]     |
[INFO] [stdout]  44 |     Query(Vec<String>),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:177:57
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut tag_map = HashMap::with_capacity(parsed.len());
[INFO] [stdout]     |                                                         ^^^ method not found in `Result<Parsed, error::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_tag` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:181:54
[INFO] [stdout]     |
[INFO] [stdout] 181 |             let Some(s) = self.structures.get(object.get_tag()) else {
[INFO] [stdout]     |                                                      ^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `line` on type `&Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:184:28
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     object.line,
[INFO] [stdout]     |                            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `col` on type `&Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:185:28
[INFO] [stdout]     |
[INFO] [stdout] 185 |                     object.col,
[INFO] [stdout]     |                            ^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_tag` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:186:28
[INFO] [stdout]     |
[INFO] [stdout] 186 |                     object.get_tag()
[INFO] [stdout]     |                            ^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:192:44
[INFO] [stdout]     |
[INFO] [stdout] 192 |             if tag_map.contains_key(object.get_name()) {
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `name` on type `&Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:195:28
[INFO] [stdout]     |
[INFO] [stdout] 195 |                     object.name.line,
[INFO] [stdout]     |                            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `name` on type `&Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:196:28
[INFO] [stdout]     |
[INFO] [stdout] 196 |                     object.name.col,
[INFO] [stdout]     |                            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 |                     object.get_name()
[INFO] [stdout]     |                            ^^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:204:24
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 object.get_name().to_string(),
[INFO] [stdout]     |                        ^^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_tag` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:205:25
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 (object.get_tag().to_string(), s.clone()),
[INFO] [stdout]     |                         ^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_name` found for struct `Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:210:51
[INFO] [stdout]     |
[INFO] [stdout] 210 |             let Some((name, s)) = tag_map.get(obj.get_name()) else {
[INFO] [stdout]     |                                                   ^^^^^^^^ method not found in `Parsed`
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/skaf/src/parser/mod.rs:77:1
[INFO] [stdout]     |
[INFO] [stdout]  77 | pub struct Parsed {
[INFO] [stdout]     | ----------------- method `get_name` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `data` on type `Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:214:37
[INFO] [stdout]     |
[INFO] [stdout] 214 |             for (key, value) in obj.data.iter() {
[INFO] [stdout]     |                                     ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `name` on type `Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:229:28
[INFO] [stdout]     |
[INFO] [stdout] 229 |             let name = obj.name.clone();
[INFO] [stdout]     |                            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:231:38
[INFO] [stdout]     |
[INFO] [stdout] 231 |             let proxy = create_proxy(obj, self);
[INFO] [stdout]     |                         ------------ ^^^ expected `Object`, found `Parsed`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: implementation defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/boxed.rs:2326:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: Borrow<StringRef>` is not satisfied
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:254:52
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 let Some(fun) = self.functions.get(name) else {
[INFO] [stdout]     |                                                --- ^^^^ the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]       but trait `Borrow<str>` is implemented for it
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/str.rs:239:0
[INFO] [stdout]     = help: for that trait implementation, expected `str`, found `StringRef`
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S, A>::get`
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/collections/hash/map.rs:1034:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `StringRef: Hash` is not satisfied
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:254:52
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 let Some(fun) = self.functions.get(name) else {
[INFO] [stdout]     |                                                --- ^^^^ the trait `Hash` is not implemented for `StringRef`
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S, A>::get`
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/collections/hash/map.rs:1034:4
[INFO] [stdout] help: consider annotating `StringRef` with `#[derive(Hash)]`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 + #[derive(Hash)]
[INFO] [stdout]   7 | pub struct StringRef(usize);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `StringRef: Eq` is not satisfied
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:254:52
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 let Some(fun) = self.functions.get(name) else {
[INFO] [stdout]     |                                                --- ^^^^ the trait `Eq` is not implemented for `StringRef`
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S, A>::get`
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/collections/hash/map.rs:1034:4
[INFO] [stdout] help: consider annotating `StringRef` with `#[derive(Eq)]`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 + #[derive(Eq)]
[INFO] [stdout]   7 | pub struct StringRef(usize);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StringRef` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:257:48
[INFO] [stdout]     |
[INFO] [stdout] 256 |                         "{}:{}: Function {} does not exist",
[INFO] [stdout]     |                                          -- required by this formatting parameter
[INFO] [stdout] 257 |                         value.line, value.col, name
[INFO] [stdout]     |                                                ^^^^ `StringRef` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `StringRef`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 | pub struct StringRef(usize);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or `{:#?}` for pretty-print) instead
[INFO] [stdout]     = note: required for `&StringRef` to implement `std::fmt::Display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StringRef` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:266:84
[INFO] [stdout]     |
[INFO] [stdout] 266 |                     println!("{}:{} {} returns wrong type", value.line, value.col, name);
[INFO] [stdout]     |                                     -- required by this formatting parameter       ^^^^ `StringRef` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `StringRef`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 | pub struct StringRef(usize);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or `{:#?}` for pretty-print) instead
[INFO] [stdout]     = note: required for `&StringRef` to implement `std::fmt::Display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:145:42
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 value: ProxyValue::Value(v.clone()),
[INFO] [stdout]     |                        ----------------- ^^^^^^^^^ expected `String`, found `StringRef`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `StringRef` due to the type of the argument passed
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:145:24
[INFO] [stdout]     |
[INFO] [stdout] 145 |                 value: ProxyValue::Value(v.clone()),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^---------^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          this argument influences the type of `Value`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> crates/skaf/src/engine/proxy.rs:43:5
[INFO] [stdout]     |
[INFO] [stdout]  43 |     Value(T),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: Borrow<StringRef>` is not satisfied
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:167:25
[INFO] [stdout]     |
[INFO] [stdout] 167 |                         self.functions[function].make_args(values, self),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]       but trait `Borrow<str>` is implemented for it
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/str.rs:239:0
[INFO] [stdout]     = help: for that trait implementation, expected `str`, found `StringRef`
[INFO] [stdout]     = note: required for `HashMap<String, Box<(dyn Function + 'static)>>` to implement `Index<&StringRef>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: Borrow<StringRef>` is not satisfied
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:167:40
[INFO] [stdout]     |
[INFO] [stdout] 167 |                         self.functions[function].make_args(values, self),
[INFO] [stdout]     |                                        ^^^^^^^^ the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]       but trait `Borrow<str>` is implemented for it
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/str.rs:239:0
[INFO] [stdout]     = help: for that trait implementation, expected `str`, found `StringRef`
[INFO] [stdout]     = note: required for `HashMap<String, Box<(dyn Function + 'static)>>` to implement `Index<&StringRef>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&ArgRef` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:270:43
[INFO] [stdout]     |
[INFO] [stdout] 270 |                 if sig_args.len() != args.len() {
[INFO] [stdout]     |                                           ^^^ method not found in `&ArgRef`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `len`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&ArgRef` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:277:30
[INFO] [stdout]     |
[INFO] [stdout] 277 |                         args.len()
[INFO] [stdout]     |                              ^^^ method not found in `&ArgRef`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `len`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&ArgRef` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:283:69
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 for (i, (sig_arg, arg)) in sig_args.iter().zip(args.iter()).enumerate() {
[INFO] [stdout]     |                                                                     ^^^^ method not found in `&ArgRef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StringRef` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:285:55
[INFO] [stdout]     |
[INFO] [stdout] 285 |                         println!("{}:{}: {i}th arg to {name} is wrong", value.line, value.col,);
[INFO] [stdout]     |                                                       ^^^^^^ `StringRef` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `StringRef`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 | pub struct StringRef(usize);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or `{:#?}` for pretty-print) instead
[INFO] [stdout]     = note: required for `&StringRef` to implement `std::fmt::Display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:167:60
[INFO] [stdout]     |
[INFO] [stdout] 167 |                         self.functions[function].make_args(values, self),
[INFO] [stdout]     |                                                  --------- ^^^^^^ expected `&Vec<Value>`, found `&ArgRef`
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Vec<Value>`
[INFO] [stdout]                found reference `&ArgRef`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:337:8
[INFO] [stdout]     |
[INFO] [stdout] 337 |     fn make_args(&self, values: &Vec<Value>, engine: &Engine) -> Vec<Proxy<Box<dyn Any>>>;
[INFO] [stdout]     |        ^^^^^^^^^        ------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:166:25
[INFO] [stdout]     |
[INFO] [stdout] 165 |                     ProxyValue::Expression(
[INFO] [stdout]     |                     ---------------------- arguments to this enum variant are incorrect
[INFO] [stdout] 166 |                         function.clone(),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ expected `String`, found `StringRef`
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> crates/skaf/src/engine/proxy.rs:45:5
[INFO] [stdout]     |
[INFO] [stdout]  45 |     Expression(String, Vec<Proxy<Box<dyn Any>>>),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:170:84
[INFO] [stdout]     |
[INFO] [stdout] 170 |                 crate::parser::ValueVariant::Query(ref items) => ProxyValue::Query(items.clone()),
[INFO] [stdout]     |                                                                  ----------------- ^^^^^^^^^^^^^ expected `Vec<String>`, found `QueryRef`
[INFO] [stdout]     |                                                                  |
[INFO] [stdout]     |                                                                  arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<String>`
[INFO] [stdout]                found struct `QueryRef`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> crates/skaf/src/engine/proxy.rs:44:5
[INFO] [stdout]     |
[INFO] [stdout]  44 |     Query(Vec<String>),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&QueryRef` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:293:26
[INFO] [stdout]     |
[INFO] [stdout] 293 |                 if items.len() != 2 {
[INFO] [stdout]     |                          ^^^ method not found in `&QueryRef`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `len`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&QueryRef`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:301:56
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 let Some((name, q)) = tag_map.get(items[0].as_str()) else {
[INFO] [stdout]     |                                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&QueryRef`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:302:85
[INFO] [stdout]     |
[INFO] [stdout] 302 |                     println!("{}:{} {} does not exist", value.line, value.col, items[0]);
[INFO] [stdout]     |                                                                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&QueryRef`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:306:60
[INFO] [stdout]     |
[INFO] [stdout] 306 |                 let Some(target_field) = q.get_field(&items[1]) else {
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&QueryRef`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:309:59
[INFO] [stdout]     |
[INFO] [stdout] 309 |                         value.line, value.col, name, items[1]
[INFO] [stdout]     |                                                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&QueryRef`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:318:53
[INFO] [stdout]     |
[INFO] [stdout] 318 |                         value.line, value.col, items[1]
[INFO] [stdout]     |                                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> crates/skaf/src/parser/mod.rs:98:22
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn parse_kw() -> Option<String> {}
[INFO] [stdout]    |        --------      ^^^^^^^^^^^^^^ expected `Option<String>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:177:57
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut tag_map = HashMap::with_capacity(parsed.len());
[INFO] [stdout]     |                                                         ^^^ method not found in `Result<Parsed, error::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let iter = TrackedCharIter::new(source);
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_iter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599, E0608, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_tag` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:181:54
[INFO] [stdout]     |
[INFO] [stdout] 181 |             let Some(s) = self.structures.get(object.get_tag()) else {
[INFO] [stdout]     |                                                      ^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `line` on type `&Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:184:28
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     object.line,
[INFO] [stdout]     |                            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `col` on type `&Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:185:28
[INFO] [stdout]     |
[INFO] [stdout] 185 |                     object.col,
[INFO] [stdout]     |                            ^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_tag` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:186:28
[INFO] [stdout]     |
[INFO] [stdout] 186 |                     object.get_tag()
[INFO] [stdout]     |                            ^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `skaf` (lib test) due to 38 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:192:44
[INFO] [stdout]     |
[INFO] [stdout] 192 |             if tag_map.contains_key(object.get_name()) {
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0609]: no field `name` on type `&Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:195:28
[INFO] [stdout]     |
[INFO] [stdout] 195 |                     object.name.line,
[INFO] [stdout]     |                            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `name` on type `&Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:196:28
[INFO] [stdout]     |
[INFO] [stdout] 196 |                     object.name.col,
[INFO] [stdout]     |                            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 |                     object.get_name()
[INFO] [stdout]     |                            ^^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_name` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:204:24
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 object.get_name().to_string(),
[INFO] [stdout]     |                        ^^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_tag` found for reference `&Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:205:25
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 (object.get_tag().to_string(), s.clone()),
[INFO] [stdout]     |                         ^^^^^^^ method not found in `&Parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_name` found for struct `Parsed` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:210:51
[INFO] [stdout]     |
[INFO] [stdout] 210 |             let Some((name, s)) = tag_map.get(obj.get_name()) else {
[INFO] [stdout]     |                                                   ^^^^^^^^ method not found in `Parsed`
[INFO] [stdout]     |
[INFO] [stdout]    ::: crates/skaf/src/parser/mod.rs:77:1
[INFO] [stdout]     |
[INFO] [stdout]  77 | pub struct Parsed {
[INFO] [stdout]     | ----------------- method `get_name` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `data` on type `Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:214:37
[INFO] [stdout]     |
[INFO] [stdout] 214 |             for (key, value) in obj.data.iter() {
[INFO] [stdout]     |                                     ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `name` on type `Parsed`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:229:28
[INFO] [stdout]     |
[INFO] [stdout] 229 |             let name = obj.name.clone();
[INFO] [stdout]     |                            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `objects`, `queries`, `args`, `strings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:231:38
[INFO] [stdout]     |
[INFO] [stdout] 231 |             let proxy = create_proxy(obj, self);
[INFO] [stdout]     |                         ------------ ^^^ expected `Object`, found `Parsed`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: implementation defined here
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/boxed.rs:2326:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: Borrow<StringRef>` is not satisfied
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:254:52
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 let Some(fun) = self.functions.get(name) else {
[INFO] [stdout]     |                                                --- ^^^^ the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Borrow<StringRef>` is not implemented for `String`
[INFO] [stdout]       but trait `Borrow<str>` is implemented for it
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/alloc/src/str.rs:239:0
[INFO] [stdout]     = help: for that trait implementation, expected `str`, found `StringRef`
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S, A>::get`
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/collections/hash/map.rs:1034:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `StringRef: Hash` is not satisfied
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:254:52
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 let Some(fun) = self.functions.get(name) else {
[INFO] [stdout]     |                                                --- ^^^^ the trait `Hash` is not implemented for `StringRef`
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S, A>::get`
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/collections/hash/map.rs:1034:4
[INFO] [stdout] help: consider annotating `StringRef` with `#[derive(Hash)]`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 + #[derive(Hash)]
[INFO] [stdout]   7 | pub struct StringRef(usize);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `StringRef: Eq` is not satisfied
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:254:52
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 let Some(fun) = self.functions.get(name) else {
[INFO] [stdout]     |                                                --- ^^^^ the trait `Eq` is not implemented for `StringRef`
[INFO] [stdout]     |                                                |
[INFO] [stdout]     |                                                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S, A>::get`
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/std/src/collections/hash/map.rs:1034:4
[INFO] [stdout] help: consider annotating `StringRef` with `#[derive(Eq)]`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 + #[derive(Eq)]
[INFO] [stdout]   7 | pub struct StringRef(usize);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StringRef` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:257:48
[INFO] [stdout]     |
[INFO] [stdout] 256 |                         "{}:{}: Function {} does not exist",
[INFO] [stdout]     |                                          -- required by this formatting parameter
[INFO] [stdout] 257 |                         value.line, value.col, name
[INFO] [stdout]     |                                                ^^^^ `StringRef` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `StringRef`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 | pub struct StringRef(usize);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or `{:#?}` for pretty-print) instead
[INFO] [stdout]     = note: required for `&StringRef` to implement `std::fmt::Display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StringRef` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:266:84
[INFO] [stdout]     |
[INFO] [stdout] 266 |                     println!("{}:{} {} returns wrong type", value.line, value.col, name);
[INFO] [stdout]     |                                     -- required by this formatting parameter       ^^^^ `StringRef` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `StringRef`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 | pub struct StringRef(usize);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or `{:#?}` for pretty-print) instead
[INFO] [stdout]     = note: required for `&StringRef` to implement `std::fmt::Display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&ArgRef` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:270:43
[INFO] [stdout]     |
[INFO] [stdout] 270 |                 if sig_args.len() != args.len() {
[INFO] [stdout]     |                                           ^^^ method not found in `&ArgRef`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `len`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&ArgRef` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:277:30
[INFO] [stdout]     |
[INFO] [stdout] 277 |                         args.len()
[INFO] [stdout]     |                              ^^^ method not found in `&ArgRef`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `len`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&ArgRef` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:283:69
[INFO] [stdout]     |
[INFO] [stdout] 283 |                 for (i, (sig_arg, arg)) in sig_args.iter().zip(args.iter()).enumerate() {
[INFO] [stdout]     |                                                                     ^^^^ method not found in `&ArgRef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StringRef` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:285:55
[INFO] [stdout]     |
[INFO] [stdout] 285 |                         println!("{}:{}: {i}th arg to {name} is wrong", value.line, value.col,);
[INFO] [stdout]     |                                                       ^^^^^^ `StringRef` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `StringRef`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 | pub struct StringRef(usize);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or `{:#?}` for pretty-print) instead
[INFO] [stdout]     = note: required for `&StringRef` to implement `std::fmt::Display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for reference `&QueryRef` in the current scope
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:293:26
[INFO] [stdout]     |
[INFO] [stdout] 293 |                 if items.len() != 2 {
[INFO] [stdout]     |                          ^^^ method not found in `&QueryRef`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `len`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&QueryRef`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:301:56
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 let Some((name, q)) = tag_map.get(items[0].as_str()) else {
[INFO] [stdout]     |                                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&QueryRef`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:302:85
[INFO] [stdout]     |
[INFO] [stdout] 302 |                     println!("{}:{} {} does not exist", value.line, value.col, items[0]);
[INFO] [stdout]     |                                                                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&QueryRef`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:306:60
[INFO] [stdout]     |
[INFO] [stdout] 306 |                 let Some(target_field) = q.get_field(&items[1]) else {
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&QueryRef`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:309:59
[INFO] [stdout]     |
[INFO] [stdout] 309 |                         value.line, value.col, name, items[1]
[INFO] [stdout]     |                                                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `&QueryRef`
[INFO] [stdout]    --> crates/skaf/src/engine/mod.rs:318:53
[INFO] [stdout]     |
[INFO] [stdout] 318 |                         value.line, value.col, items[1]
[INFO] [stdout]     |                                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> crates/skaf/src/parser/mod.rs:98:22
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn parse_kw() -> Option<String> {}
[INFO] [stdout]    |        --------      ^^^^^^^^^^^^^^ expected `Option<String>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter`
[INFO] [stdout]    --> crates/skaf/src/parser/mod.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let iter = TrackedCharIter::new(source);
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_iter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599, E0608, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `skaf` (lib) due to 38 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "13056266c8b0ff19b521749c0620182b22ca7a499355b0ddb318a22d21743a08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13056266c8b0ff19b521749c0620182b22ca7a499355b0ddb318a22d21743a08", kill_on_drop: false }`
[INFO] [stdout] 13056266c8b0ff19b521749c0620182b22ca7a499355b0ddb318a22d21743a08
