[INFO] cloning repository https://github.com/samdoiron/Lithium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samdoiron/Lithium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdoiron%2FLithium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdoiron%2FLithium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f3910f8a60430848c94c9c4265092ccb04d5223 [INFO] checking samdoiron/Lithium against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdoiron%2FLithium" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samdoiron/Lithium on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/samdoiron/Lithium [INFO] finished tweaking git repo https://github.com/samdoiron/Lithium [INFO] tweaked toml for git repo https://github.com/samdoiron/Lithium written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/samdoiron/Lithium already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c7c687ccd40a7a80318c164284f80393387aa055062e713d019e71ad2bc06963 [INFO] running `Command { std: "docker" "start" "-a" "c7c687ccd40a7a80318c164284f80393387aa055062e713d019e71ad2bc06963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7c687ccd40a7a80318c164284f80393387aa055062e713d019e71ad2bc06963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c687ccd40a7a80318c164284f80393387aa055062e713d019e71ad2bc06963", kill_on_drop: false }` [INFO] [stdout] c7c687ccd40a7a80318c164284f80393387aa055062e713d019e71ad2bc06963 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ba68001d8d9dc50087ea4385c38183759fb3099d9bcb83a82fcb10e2b1246d0 [INFO] running `Command { std: "docker" "start" "-a" "8ba68001d8d9dc50087ea4385c38183759fb3099d9bcb83a82fcb10e2b1246d0", kill_on_drop: false }` [INFO] [stderr] Checking lithium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/object.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_handler(&mut self, ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 38 | fn get_handler(&mut self, ObjectRef: TypeName, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 38 | fn get_handler(&mut self, _: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/object.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_handler(&mut self, ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 38 | fn get_handler(&mut self, ObjectRef: TypeName, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 38 | fn get_handler(&mut self, _: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target` in this scope [INFO] [stdout] --> src/object.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | None => self.prototype.send(target, message) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | fn is_message_valid(&self, message: &EvaluatedMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_block` in this scope [INFO] [stdout] --> src/eval.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | eval_block(pool, self.parent_scope, &self.body) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/eval.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | eval_block(pool, self.parent_scope, &self.body) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_block` in this scope [INFO] [stdout] --> src/eval.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | eval_block(context, &self.body) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:44:76 [INFO] [stdout] | [INFO] [stdout] 44 | fn send(&mut self, pool: &mut ObjectPool, _target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `ObjectRef` [INFO] [stdout] --> src/eval.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | ObjectRef{ [INFO] [stdout] | ^^^^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `ObjectRef` [INFO] [stdout] --> src/eval.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ObjectRef{ [INFO] [stdout] | ^^^^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | fn send(&mut self, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | fn send(&mut self, _target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:107:53 [INFO] [stdout] | [INFO] [stdout] 107 | fn send(&mut self, target: ObjectRef, _message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 138 | fn send(&mut self, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NormalObject` [INFO] [stdout] --> src/eval.rs:185:45 [INFO] [stdout] | [INFO] [stdout] 185 | let scope = ObjectRef::new(Box::new(NormalObject::extending(parent_scope))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::NormalObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:203:72 [INFO] [stdout] | [INFO] [stdout] 203 | fn eval_message(&mut self, scope: ObjectRef, message: &Message) -> EvaluatedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | EvaluatedMessage { name: message.name.clone(), arguments: bindings } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:216:39 [INFO] [stdout] | [INFO] [stdout] 216 | let message = EvaluatedMessage{name: ident.to_string(), arguments: Vec::new() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_handler(target: Object) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | special_objects: Vec> [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | fn new(object: Box) -> ObjectRef { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | fn new_with_metadata(object: Box, metadata: Metadata) -> ObjectRef { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target` in this scope [INFO] [stdout] --> src/object.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | None => self.prototype.send(target, message) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | fn is_message_valid(&self, message: &EvaluatedMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_block` in this scope [INFO] [stdout] --> src/eval.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | eval_block(pool, self.parent_scope, &self.body) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/eval.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | eval_block(pool, self.parent_scope, &self.body) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval_block` in this scope [INFO] [stdout] --> src/eval.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | eval_block(context, &self.body) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:44:76 [INFO] [stdout] | [INFO] [stdout] 44 | fn send(&mut self, pool: &mut ObjectPool, _target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `ObjectRef` [INFO] [stdout] --> src/eval.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | ObjectRef{ [INFO] [stdout] | ^^^^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `ObjectRef` [INFO] [stdout] --> src/eval.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ObjectRef{ [INFO] [stdout] | ^^^^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | fn send(&mut self, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | fn send(&mut self, _target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:107:53 [INFO] [stdout] | [INFO] [stdout] 107 | fn send(&mut self, target: ObjectRef, _message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 138 | fn send(&mut self, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NormalObject` [INFO] [stdout] --> src/eval.rs:185:45 [INFO] [stdout] | [INFO] [stdout] 185 | let scope = ObjectRef::new(Box::new(NormalObject::extending(parent_scope))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::NormalObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:203:72 [INFO] [stdout] | [INFO] [stdout] 203 | fn eval_message(&mut self, scope: ObjectRef, message: &Message) -> EvaluatedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | EvaluatedMessage { name: message.name.clone(), arguments: bindings } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:216:39 [INFO] [stdout] | [INFO] [stdout] 216 | let message = EvaluatedMessage{name: ident.to_string(), arguments: Vec::new() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_handler(target: Object) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | special_objects: Vec> [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | fn new(object: Box) -> ObjectRef { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | fn new_with_metadata(object: Box, metadata: Metadata) -> ObjectRef { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `send` has 3 parameters but the declaration in trait `Object::send` has 4 [INFO] [stdout] --> src/eval.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn send(&mut self, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ------------------------------------------------------------------------------ trait requires 4 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `send` has 3 parameters but the declaration in trait `Object::send` has 4 [INFO] [stdout] --> src/eval.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | fn send(&mut self, _target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ------------------------------------------------------------------------------ trait requires 4 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `send` has 3 parameters but the declaration in trait `Object::send` has 4 [INFO] [stdout] --> src/eval.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | fn send(&mut self, target: ObjectRef, _message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ------------------------------------------------------------------------------ trait requires 4 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `send` has 3 parameters but the declaration in trait `Object::send` has 4 [INFO] [stdout] --> src/eval.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | fn send(&mut self, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ------------------------------------------------------------------------------ trait requires 4 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Program` in the current scope [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | Program::new().eval(parsed); [INFO] [stdout] | ^^^ function or associated item not found in `Program` [INFO] [stdout] | [INFO] [stdout] ::: src/eval.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct Program { [INFO] [stdout] | ------------------ function or associated item `new` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `NormalObject` has no field named `methods` [INFO] [stdout] --> src/object.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | methods: HashMap::new(), [INFO] [stdout] | ^^^^^^^ `NormalObject` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `prototype`, `properties`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Object + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/object.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_handler(target: Object) { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Object + 'static)` [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 34 | fn get_handler(target: &Object) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/object.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- defined here [INFO] [stdout] ... [INFO] [stdout] 43 | defined_object.send(clone, message) [INFO] [stdout] | ^^^^ ----- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/object.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- defined here [INFO] [stdout] ... [INFO] [stdout] 45 | None => self.prototype.send(target, message) [INFO] [stdout] | ^^^^ ------ ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for struct `NormalObject` in the current scope [INFO] [stdout] --> src/object.rs:83:68 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct NormalObject { [INFO] [stdout] | ----------------------- method `send` not found for this [INFO] [stdout] ... [INFO] [stdout] 83 | ObjectRef::Normal(index) => self.normal_objects[index].send(self, message), [INFO] [stdout] | ^^^^ method not found in `NormalObject` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Object` defines an item `send`, perhaps you need to implement it [INFO] [stdout] --> src/object.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Object: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/object.rs:84:70 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- defined here [INFO] [stdout] ... [INFO] [stdout] 84 | ObjectRef::Special(index) => self.special_objects[index].send(self, message) [INFO] [stdout] | ^^^^ ---- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/object.rs:88:83 [INFO] [stdout] | [INFO] [stdout] 88 | fn define(&mut self, reference: ObjectRef, name: String, value: ObjectRef) -> ObjectRef { [INFO] [stdout] | ------ ^^^^^^^^^ expected enum `ObjectRef`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `send` has 3 parameters but the declaration in trait `Object::send` has 4 [INFO] [stdout] --> src/eval.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | fn send(&mut self, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ------------------------------------------------------------------------------ trait requires 4 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `send` has 3 parameters but the declaration in trait `Object::send` has 4 [INFO] [stdout] --> src/eval.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | fn send(&mut self, _target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ------------------------------------------------------------------------------ trait requires 4 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `send` has 3 parameters but the declaration in trait `Object::send` has 4 [INFO] [stdout] --> src/eval.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | fn send(&mut self, target: ObjectRef, _message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ------------------------------------------------------------------------------ trait requires 4 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `send` has 3 parameters but the declaration in trait `Object::send` has 4 [INFO] [stdout] --> src/eval.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | fn send(&mut self, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ------------------------------------------------------------------------------ trait requires 4 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Program` in the current scope [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | Program::new().eval(parsed); [INFO] [stdout] | ^^^ function or associated item not found in `Program` [INFO] [stdout] | [INFO] [stdout] ::: src/eval.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct Program { [INFO] [stdout] | ------------------ function or associated item `new` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/eval.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | ref m if m == "call" => self.call_with_captured_context(pool), [INFO] [stdout] | ^^^^ expected struct `Program`, found struct `ObjectPool` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Program` [INFO] [stdout] found mutable reference `&mut ObjectPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `object` on type `&mut ObjectRef` [INFO] [stdout] --> src/eval.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | self.object.borrow_mut().send(target, message) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `object` on type `&mut ObjectRef` [INFO] [stdout] --> src/eval.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | self.object.borrow_mut().define(name, value) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `NormalObject` has no field named `methods` [INFO] [stdout] --> src/object.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | methods: HashMap::new(), [INFO] [stdout] | ^^^^^^^ `NormalObject` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `prototype`, `properties`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Object + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/object.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_handler(target: Object) { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Object + 'static)` [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 34 | fn get_handler(target: &Object) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/object.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- defined here [INFO] [stdout] ... [INFO] [stdout] 43 | defined_object.send(clone, message) [INFO] [stdout] | ^^^^ ----- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/object.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- defined here [INFO] [stdout] ... [INFO] [stdout] 45 | None => self.prototype.send(target, message) [INFO] [stdout] | ^^^^ ------ ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `ObjectRef` [INFO] [stdout] --> src/eval.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let numeric_value = match target.metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `ObjectRef` [INFO] [stdout] --> src/eval.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | let sum = match other.metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for struct `NormalObject` in the current scope [INFO] [stdout] --> src/object.rs:83:68 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct NormalObject { [INFO] [stdout] | ----------------------- method `send` not found for this [INFO] [stdout] ... [INFO] [stdout] 83 | ObjectRef::Normal(index) => self.normal_objects[index].send(self, message), [INFO] [stdout] | ^^^^ method not found in `NormalObject` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Object` defines an item `send`, perhaps you need to implement it [INFO] [stdout] --> src/object.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Object: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/object.rs:84:70 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- defined here [INFO] [stdout] ... [INFO] [stdout] 84 | ObjectRef::Special(index) => self.special_objects[index].send(self, message) [INFO] [stdout] | ^^^^ ---- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/object.rs:88:83 [INFO] [stdout] | [INFO] [stdout] 88 | fn define(&mut self, reference: ObjectRef, name: String, value: ObjectRef) -> ObjectRef { [INFO] [stdout] | ------ ^^^^^^^^^ expected enum `ObjectRef`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/eval.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 184 | fn eval_block(&mut self, parent_scope: ObjectRef, block: &Block) -> ObjectRef { [INFO] [stdout] | --------- expected `ObjectRef` because of return type [INFO] [stdout] ... [INFO] [stdout] 188 | / for statement in statements { [INFO] [stdout] 189 | | last = self.eval_statement(scope, statement); [INFO] [stdout] 190 | | } [INFO] [stdout] | |_________^ expected enum `ObjectRef`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/eval.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | scope.send(scope, message) [INFO] [stdout] | ^^^^ ----- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061, E0277, E0308, E0412, E0422, E0425, E0433, E0560... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lithium` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/eval.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | ref m if m == "call" => self.call_with_captured_context(pool), [INFO] [stdout] | ^^^^ expected struct `Program`, found struct `ObjectPool` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Program` [INFO] [stdout] found mutable reference `&mut ObjectPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `object` on type `&mut ObjectRef` [INFO] [stdout] --> src/eval.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | self.object.borrow_mut().send(target, message) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `object` on type `&mut ObjectRef` [INFO] [stdout] --> src/eval.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | self.object.borrow_mut().define(name, value) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `ObjectRef` [INFO] [stdout] --> src/eval.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | let numeric_value = match target.metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `ObjectRef` [INFO] [stdout] --> src/eval.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | let sum = match other.metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/eval.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 184 | fn eval_block(&mut self, parent_scope: ObjectRef, block: &Block) -> ObjectRef { [INFO] [stdout] | --------- expected `ObjectRef` because of return type [INFO] [stdout] ... [INFO] [stdout] 188 | / for statement in statements { [INFO] [stdout] 189 | | last = self.eval_statement(scope, statement); [INFO] [stdout] 190 | | } [INFO] [stdout] | |_________^ expected enum `ObjectRef`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/eval.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | scope.send(scope, message) [INFO] [stdout] | ^^^^ ----- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] ::: src/object.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(&mut self, pool: &mut ObjectPool, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef; [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061, E0277, E0308, E0412, E0422, E0425, E0433, E0560... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8ba68001d8d9dc50087ea4385c38183759fb3099d9bcb83a82fcb10e2b1246d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba68001d8d9dc50087ea4385c38183759fb3099d9bcb83a82fcb10e2b1246d0", kill_on_drop: false }` [INFO] [stdout] 8ba68001d8d9dc50087ea4385c38183759fb3099d9bcb83a82fcb10e2b1246d0