[INFO] cloning repository https://github.com/l3kn/EulerLisp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/l3kn/EulerLisp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2FEulerLisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2FEulerLisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c525a71b2059b06dc1341fcd479daa8f77bdd972 [INFO] testing l3kn/EulerLisp against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2FEulerLisp" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/l3kn/EulerLisp on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/l3kn/EulerLisp [INFO] finished tweaking git repo https://github.com/l3kn/EulerLisp [INFO] tweaked toml for git repo https://github.com/l3kn/EulerLisp written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/l3kn/EulerLisp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3129ada6bf2207e0300ea48afa43c20c6c1671bcfe97bfe1daaa52693b7ad0d5 [INFO] running `Command { std: "docker" "start" "-a" "3129ada6bf2207e0300ea48afa43c20c6c1671bcfe97bfe1daaa52693b7ad0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3129ada6bf2207e0300ea48afa43c20c6c1671bcfe97bfe1daaa52693b7ad0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3129ada6bf2207e0300ea48afa43c20c6c1671bcfe97bfe1daaa52693b7ad0d5", kill_on_drop: false }` [INFO] [stdout] 3129ada6bf2207e0300ea48afa43c20c6c1671bcfe97bfe1daaa52693b7ad0d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76e6752fca3c79bfebfefcae37b8344e543827623eeed8e4a4dae28dda49618e [INFO] running `Command { std: "docker" "start" "-a" "76e6752fca3c79bfebfefcae37b8344e543827623eeed8e4a4dae28dda49618e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling serde v1.0.33 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling colored v1.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling syn v0.15.25 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling csv v1.0.0-beta.5 [INFO] [stderr] Compiling lisp-macros v0.1.0 (/opt/rustwide/workdir/lisp-macros) [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> lisp-macros/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let function = function::parse(&fn_item).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr_ts` [INFO] [stdout] --> lisp-macros/lib.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn lisp_fn(attr_ts: TokenStream, fn_ts: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attr_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling euler_lisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/lib.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | impl From for LispError { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::LispError::NoneError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 40 | impl From for LispError { [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/lib.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | fn from(error: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::LispError::NoneError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 41 | fn from(error: crate::LispError) -> Self { [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/debugger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/debugger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/debugger.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/debugger.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BuiltinRegistry`, `self` [INFO] [stdout] --> src/debugger.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::builtin::{self, BuiltinRegistry}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Program` [INFO] [stdout] --> src/debugger.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::compiler::{Compiler, Program}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instruction`, `LabeledInstruction` [INFO] [stdout] --> src/debugger.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::instruction::{Instruction, LabeledInstruction}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::symbol_table::Symbol` [INFO] [stdout] --> src/debugger.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::symbol_table::Symbol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vm::Context` [INFO] [stdout] --> src/debugger.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::vm::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arity`, `LispFn1`, `LispFn2`, `LispFn3`, `LispFnN` [INFO] [stdout] --> src/debugger.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Arity, LispFn1, LispFn2, LispFn3, LispFnN}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hash`, `Hasher` [INFO] [stdout] --> src/value.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/builtin/math.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/builtin/math.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | (c as isize) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - (c as isize) [INFO] [stdout] 120 + c as isize [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | 'A'...'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | 'a'...'z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:498:28 [INFO] [stdout] | [INFO] [stdout] 498 | first @ 'A'...'Z' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:499:30 [INFO] [stdout] | [INFO] [stdout] 499 | | first @ 'a'...'z' [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:513:28 [INFO] [stdout] | [INFO] [stdout] 513 | first @ '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/lib.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | use std::cell::{Cell, Ref, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | pub output: Rc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 - pub output: Rc>, [INFO] [stdout] 103 + pub output: Rc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | Foreign(Rc), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - Foreign(Rc), [INFO] [stdout] 42 + Foreign(Rc), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new(output: Rc>) -> VM { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 - pub fn new(output: Rc>) -> VM { [INFO] [stdout] 110 + pub fn new(output: Rc>) -> VM { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] 23 + pub fn load(reg: &mut dyn BuiltinRegistry) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/bignum.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] 30 + pub fn load(reg: &mut dyn BuiltinRegistry) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/bitwise.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] 59 + pub fn load(reg: &mut dyn BuiltinRegistry) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/comparison.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] 116 + pub fn load(reg: &mut dyn BuiltinRegistry) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/list.rs:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 - pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] 311 + pub fn load(reg: &mut dyn BuiltinRegistry) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/math.rs:735:23 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 735 - pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] 735 + pub fn load(reg: &mut dyn BuiltinRegistry) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/misc.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] 93 + pub fn load(reg: &mut dyn BuiltinRegistry) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/string.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] 127 + pub fn load(reg: &mut dyn BuiltinRegistry) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/types.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - pub fn load(reg: &mut BuiltinRegistry) { [INFO] [stdout] 63 + pub fn load(reg: &mut dyn BuiltinRegistry) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/compiler/mod.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 164 | / pub fn expand_macros(&mut self, datum: Value) -> LispResult { [INFO] [stdout] 165 | | if datum.is_true_list() { [INFO] [stdout] 166 | | let mut elems = datum.as_list()?; [INFO] [stdout] 167 | | // FIXME: A list should never be empty, [INFO] [stdout] ... | [INFO] [stdout] 183 | | let sr = rule?.clone(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] 200 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/compiler/mod.rs:363:38 [INFO] [stdout] | [INFO] [stdout] 334 | / pub fn preprocess_meaning( [INFO] [stdout] 335 | | &mut self, [INFO] [stdout] 336 | | datum: Value, [INFO] [stdout] 337 | | env: AEnvRef, [INFO] [stdout] ... | [INFO] [stdout] 363 | | let sr = rule?.clone(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result)>, LispError>` [INFO] [stdout] ... | [INFO] [stdout] 379 | | } [INFO] [stdout] 380 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result)>, LispError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/compiler/mod.rs:605:33 [INFO] [stdout] | [INFO] [stdout] 589 | / fn preprocess_meaning_alternative( [INFO] [stdout] 590 | | &mut self, [INFO] [stdout] 591 | | mut datums: Vec, [INFO] [stdout] 592 | | env: AEnvRef, [INFO] [stdout] ... | [INFO] [stdout] 605 | | let mut last = alt.pop()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result)>, LispError>` [INFO] [stdout] ... | [INFO] [stdout] 623 | | Ok(test) [INFO] [stdout] 624 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result)>, LispError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/doc.rs:55:61 [INFO] [stdout] | [INFO] [stdout] 55 | Err(why) => panic!("couldn't spawn pandoc: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/doc.rs:60:70 [INFO] [stdout] | [INFO] [stdout] 60 | Err(why) => panic!("couldn't write to pandoc stdin: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/vm/mod.rs:392:51 [INFO] [stdout] | [INFO] [stdout] 230 | / fn run_instruction(&mut self, inst: u8) -> LispResult<()> { [INFO] [stdout] 231 | | match inst { [INFO] [stdout] 232 | | // Return [INFO] [stdout] 233 | | 0x00_u8 => self.bytecode.restore_pc()?, [INFO] [stdout] ... | [INFO] [stdout] 392 | | self.env = self.env.parent.clone()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), LispError>` [INFO] [stdout] ... | [INFO] [stdout] 647 | | Ok(()) [INFO] [stdout] 648 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), LispError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/vm/mod.rs:623:17 [INFO] [stdout] | [INFO] [stdout] 622 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 623 | let input = self.val.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/vm/mod.rs:247:57 [INFO] [stdout] | [INFO] [stdout] 247 | Value::Bignum(x) => Value::Bignum(x + 1), [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&BigInt: std::ops::Add<{integer}>` found in the `num_bigint` crate: [INFO] [stdout] - impl<'a> std::ops::Add for &'a BigInt; [INFO] [stdout] - impl<'a> std::ops::Add for &'a BigInt; [INFO] [stdout] - impl<'a> std::ops::Add for &'a BigInt; [INFO] [stdout] - impl<'a> std::ops::Add for &'a BigInt; [INFO] [stdout] and 8 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/vm/mod.rs:257:57 [INFO] [stdout] | [INFO] [stdout] 257 | Value::Bignum(x) => Value::Bignum(x - 1), [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&BigInt: std::ops::Sub<{integer}>` found in the `num_bigint` crate: [INFO] [stdout] - impl<'a> std::ops::Sub for &'a BigInt; [INFO] [stdout] - impl<'a> std::ops::Sub for &'a BigInt; [INFO] [stdout] - impl<'a> std::ops::Sub for &'a BigInt; [INFO] [stdout] - impl<'a> std::ops::Sub for &'a BigInt; [INFO] [stdout] and 8 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/syntax_rule.rs:139:57 [INFO] [stdout] | [INFO] [stdout] 65 | / pub fn matches( [INFO] [stdout] 66 | | &self, [INFO] [stdout] 67 | | pattern: &Pattern, [INFO] [stdout] 68 | | datum: Value, [INFO] [stdout] ... | [INFO] [stdout] 139 | | coll.push(subbinding.get(&k)?.clone()); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/syntax_rule.rs:190:62 [INFO] [stdout] | [INFO] [stdout] 174 | / pub fn parse(expr: Value, literals: &Vec) -> LispResult { [INFO] [stdout] 175 | | match expr { [INFO] [stdout] 176 | | Value::Nil => Ok(Pattern::List(vec![])), [INFO] [stdout] 177 | | Value::Symbol(s) => { [INFO] [stdout] ... | [INFO] [stdout] 190 | | let rest = Pattern::parse(elems.pop()?, literals)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] 208 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0412, E0554, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler_lisp` due to 13 previous errors; 38 warnings emitted [INFO] running `Command { std: "docker" "inspect" "76e6752fca3c79bfebfefcae37b8344e543827623eeed8e4a4dae28dda49618e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e6752fca3c79bfebfefcae37b8344e543827623eeed8e4a4dae28dda49618e", kill_on_drop: false }` [INFO] [stdout] 76e6752fca3c79bfebfefcae37b8344e543827623eeed8e4a4dae28dda49618e