[INFO] cloning repository https://github.com/IndianBoy42/Lispers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IndianBoy42/Lispers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIndianBoy42%2FLispers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIndianBoy42%2FLispers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2985358eaf24faf5182bbee5a6b7d33c534f92ca [INFO] checking IndianBoy42/Lispers/2985358eaf24faf5182bbee5a6b7d33c534f92ca against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIndianBoy42%2FLispers" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IndianBoy42/Lispers on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IndianBoy42/Lispers [INFO] finished tweaking git repo https://github.com/IndianBoy42/Lispers [INFO] tweaked toml for git repo https://github.com/IndianBoy42/Lispers written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/IndianBoy42/Lispers 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ad7890db931422297a371ebcda2ffea7ec40086fee5574d69007f7845706af9 [INFO] running `Command { std: "docker" "start" "-a" "4ad7890db931422297a371ebcda2ffea7ec40086fee5574d69007f7845706af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ad7890db931422297a371ebcda2ffea7ec40086fee5574d69007f7845706af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ad7890db931422297a371ebcda2ffea7ec40086fee5574d69007f7845706af9", kill_on_drop: false }` [INFO] [stdout] 4ad7890db931422297a371ebcda2ffea7ec40086fee5574d69007f7845706af9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63248862cec3a404be26b94e90a79d5b4cb705dfbb4d92d8661c855f9338ebfd [INFO] running `Command { std: "docker" "start" "-a" "63248862cec3a404be26b94e90a79d5b4cb705dfbb4d92d8661c855f9338ebfd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking lispers v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `$start:expr` is followed by `::`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/init.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | ( $ee:ident, $args:ident => $start:expr :: $acc:ident, $elem:ident => $fun:expr : $temp:ident => $wrap:expr ) => [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$fun:expr` is followed by `:`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/init.rs:15:82 [INFO] [stdout] | [INFO] [stdout] 15 | ( $ee:ident, $args:ident => $start:expr :: $acc:ident, $elem:ident => $fun:expr : $temp:ident => $wrap:expr ) => [INFO] [stdout] | ^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$fun:expr` is followed by `:`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/init.rs:20:67 [INFO] [stdout] | [INFO] [stdout] 20 | ( $ee:ident, $args:ident => $acc:ident, $elem:ident => $fun:expr : $temp:ident => $wrap:expr ) => [INFO] [stdout] | ^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$elem:expr` is followed by `:`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/init.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | ($elem:expr : $arg:pat => $then:expr) => (match $elem { [INFO] [stdout] | ^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$start:expr` is followed by `::`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/init.rs:15:42 [INFO] [stdout] | [INFO] [stdout] 15 | ( $ee:ident, $args:ident => $start:expr :: $acc:ident, $elem:ident => $fun:expr : $temp:ident => $wrap:expr ) => [INFO] [stdout] | ^^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$fun:expr` is followed by `:`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/init.rs:15:82 [INFO] [stdout] | [INFO] [stdout] 15 | ( $ee:ident, $args:ident => $start:expr :: $acc:ident, $elem:ident => $fun:expr : $temp:ident => $wrap:expr ) => [INFO] [stdout] | ^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$fun:expr` is followed by `:`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/init.rs:20:67 [INFO] [stdout] | [INFO] [stdout] 20 | ( $ee:ident, $args:ident => $acc:ident, $elem:ident => $fun:expr : $temp:ident => $wrap:expr ) => [INFO] [stdout] | ^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `$elem:expr` is followed by `:`, which is not allowed for `expr` fragments [INFO] [stdout] --> src/init.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | ($elem:expr : $arg:pat => $then:expr) => (match $elem { [INFO] [stdout] | ^ not allowed after `expr` fragments [INFO] [stdout] | [INFO] [stdout] = note: allowed there are: `=>`, `,` or `;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/parser.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/init.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(box |$ee, args| -> LispToken { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 7 | | match args { [INFO] [stdout] 8 | | &LispToken::List(ref $args) => $fun, [INFO] [stdout] 9 | | _ => panic!("Invalid Argument Error") [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | })) [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 72 | functs.insert("+", math_fold_funct!(a, n => a + n)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lisp_func` which comes from the expansion of the macro `math_fold_funct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 6 ~ ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(Box::new(|$ee, args| -> LispToken { [INFO] [stdout] 7 | match args { [INFO] [stdout] ... [INFO] [stdout] 10 | } [INFO] [stdout] 11 ~ }))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex` [INFO] [stdout] --> src/parser.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/init.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(box |$ee, args| -> LispToken { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 7 | | match args { [INFO] [stdout] 8 | | &LispToken::List(ref $args) => $fun, [INFO] [stdout] 9 | | _ => panic!("Invalid Argument Error") [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | })) [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 73 | functs.insert("*", math_fold_funct!(a, n => a * n)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lisp_func` which comes from the expansion of the macro `math_fold_funct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 6 ~ ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(Box::new(|$ee, args| -> LispToken { [INFO] [stdout] 7 | match args { [INFO] [stdout] ... [INFO] [stdout] 10 | } [INFO] [stdout] 11 ~ }))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/init.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(box |$ee, args| -> LispToken { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 7 | | match args { [INFO] [stdout] 8 | | &LispToken::List(ref $args) => $fun, [INFO] [stdout] 9 | | _ => panic!("Invalid Argument Error") [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | })) [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 74 | functs.insert("-", math_fold_funct!(a, n => a - n)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lisp_func` which comes from the expansion of the macro `math_fold_funct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 6 ~ ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(Box::new(|$ee, args| -> LispToken { [INFO] [stdout] 7 | match args { [INFO] [stdout] ... [INFO] [stdout] 10 | } [INFO] [stdout] 11 ~ }))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/init.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(box |$ee, args| -> LispToken { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 7 | | match args { [INFO] [stdout] 8 | | &LispToken::List(ref $args) => $fun, [INFO] [stdout] 9 | | _ => panic!("Invalid Argument Error") [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | })) [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 75 | functs.insert("/", math_fold_funct!(a, n => a / n)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lisp_func` which comes from the expansion of the macro `math_fold_funct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 6 ~ ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(Box::new(|$ee, args| -> LispToken { [INFO] [stdout] 7 | match args { [INFO] [stdout] ... [INFO] [stdout] 10 | } [INFO] [stdout] 11 ~ }))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/init.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(box |$ee, args| -> LispToken { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 7 | | match args { [INFO] [stdout] 8 | | &LispToken::List(ref $args) => $fun, [INFO] [stdout] 9 | | _ => panic!("Invalid Argument Error") [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | })) [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 83 | / lisp_map_func!(ee, args => elem => [INFO] [stdout] 84 | | check_arg!( elem : &LispToken::FloatingPoint(f) => LispToken::FloatingPoint(f.sqrt()) ) ) [INFO] [stdout] | |_____________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lisp_func` which comes from the expansion of the macro `lisp_map_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 6 ~ ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(Box::new(|$ee, args| -> LispToken { [INFO] [stdout] 7 | match args { [INFO] [stdout] ... [INFO] [stdout] 10 | } [INFO] [stdout] 11 ~ }))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex_macros` [INFO] [stdout] --> src/parser.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/init.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(box |$ee, args| -> LispToken { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 7 | | match args { [INFO] [stdout] 8 | | &LispToken::List(ref $args) => $fun, [INFO] [stdout] 9 | | _ => panic!("Invalid Argument Error") [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | })) [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 72 | functs.insert("+", math_fold_funct!(a, n => a + n)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lisp_func` which comes from the expansion of the macro `math_fold_funct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 6 ~ ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(Box::new(|$ee, args| -> LispToken { [INFO] [stdout] 7 | match args { [INFO] [stdout] ... [INFO] [stdout] 10 | } [INFO] [stdout] 11 ~ }))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/init.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(box |$ee, args| -> LispToken { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 7 | | match args { [INFO] [stdout] 8 | | &LispToken::List(ref $args) => $fun, [INFO] [stdout] 9 | | _ => panic!("Invalid Argument Error") [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | })) [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 73 | functs.insert("*", math_fold_funct!(a, n => a * n)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lisp_func` which comes from the expansion of the macro `math_fold_funct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 6 ~ ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(Box::new(|$ee, args| -> LispToken { [INFO] [stdout] 7 | match args { [INFO] [stdout] ... [INFO] [stdout] 10 | } [INFO] [stdout] 11 ~ }))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/init.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(box |$ee, args| -> LispToken { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 7 | | match args { [INFO] [stdout] 8 | | &LispToken::List(ref $args) => $fun, [INFO] [stdout] 9 | | _ => panic!("Invalid Argument Error") [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | })) [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 74 | functs.insert("-", math_fold_funct!(a, n => a - n)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lisp_func` which comes from the expansion of the macro `math_fold_funct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 6 ~ ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(Box::new(|$ee, args| -> LispToken { [INFO] [stdout] 7 | match args { [INFO] [stdout] ... [INFO] [stdout] 10 | } [INFO] [stdout] 11 ~ }))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/init.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(box |$ee, args| -> LispToken { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 7 | | match args { [INFO] [stdout] 8 | | &LispToken::List(ref $args) => $fun, [INFO] [stdout] 9 | | _ => panic!("Invalid Argument Error") [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | })) [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 75 | functs.insert("/", math_fold_funct!(a, n => a / n)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lisp_func` which comes from the expansion of the macro `math_fold_funct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 6 ~ ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(Box::new(|$ee, args| -> LispToken { [INFO] [stdout] 7 | match args { [INFO] [stdout] ... [INFO] [stdout] 10 | } [INFO] [stdout] 11 ~ }))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/init.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(box |$ee, args| -> LispToken { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 7 | | match args { [INFO] [stdout] 8 | | &LispToken::List(ref $args) => $fun, [INFO] [stdout] 9 | | _ => panic!("Invalid Argument Error") [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | })) [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 83 | / lisp_map_func!(ee, args => elem => [INFO] [stdout] 84 | | check_arg!( elem : &LispToken::FloatingPoint(f) => LispToken::FloatingPoint(f.sqrt()) ) ) [INFO] [stdout] | |_____________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lisp_func` which comes from the expansion of the macro `lisp_map_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 6 ~ ($ee:ident, $args:ident => $fun:expr) => (LispFunc::new(Box::new(|$ee, args| -> LispToken { [INFO] [stdout] 7 | match args { [INFO] [stdout] ... [INFO] [stdout] 10 | } [INFO] [stdout] 11 ~ }))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `regex_macros` [INFO] [stdout] --> src/parser.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate regex_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/types.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[deriving(Show, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/types.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | let str_re = regex!(r"^'(.*)'$"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/types.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | let var_re = regex!(r"^&(.*)$"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/types.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let func_re = regex!(r"^\$(.*)$"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/parser.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[phase(plugin)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parser.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/types.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[deriving(Show, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parser.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/types.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | let str_re = regex!(r"^'(.*)'$"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/types.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | let var_re = regex!(r"^&(.*)$"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `regex` in this scope [INFO] [stdout] --> src/types.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let func_re = regex!(r"^\$(.*)$"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/parser.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[phase(plugin)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parser.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/parser.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `lisp_filter_func` [INFO] [stdout] --> src/init.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! lisp_filter_func( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `check_arg` [INFO] [stdout] --> src/init.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | macro_rules! check_arg( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `lisp_filter_func` [INFO] [stdout] --> src/init.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | macro_rules! lisp_filter_func( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `check_arg` [INFO] [stdout] --> src/init.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | macro_rules! check_arg( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | pub funct: Box LispToken + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | pub funct: Box LispToken + 'a> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(macro_rules)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | pub funct: Box LispToken + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | pub funct: Box LispToken + 'a> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Err` [INFO] [stdout] --> src/types.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | impl FromStr for LispToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Err` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Err = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Err` [INFO] [stdout] --> src/types.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | impl FromStr for LispToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Err` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Err = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new(f: Box LispToken + 'a>) -> LispFunc<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new(f: Box LispToken + 'a>) -> LispFunc<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new(f: Box LispToken + 'a>) -> LispFunc<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new(f: Box LispToken + 'a>) -> LispFunc<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | debugln(format!("{}[", indent).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | debugln(format!("{}[", indent).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | debugln(format!("{}]", indent).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | debugln(format!("{}]", indent).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | debugln(format!("{}Function({}) -->", indent, f).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:32:54 [INFO] [stdout] | [INFO] [stdout] 32 | debugln(format!("{}Function({}) -->", indent, f).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | debugln(format!("{}.<", indent).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | debugln(format!("{}.<", indent).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | debugln(format!("{}.>", indent).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | debugln(format!("{}.>", indent).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `LispToken` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/types.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | t => println!("{}|- {}", indent, t) [INFO] [stdout] | ^ `LispToken` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `LispToken`, which is required by `&LispToken: std::fmt::Display` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `LispToken` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/types.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | t => println!("{}|- {}", indent, t) [INFO] [stdout] | ^ `LispToken` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `LispToken`, which is required by `&LispToken: std::fmt::Display` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for reference `&Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/types.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | &LispToken::List(ref l) => l.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `&Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec: std::fmt::Display` [INFO] [stdout] which is required by `Vec: ToString` [INFO] [stdout] `&Vec: std::fmt::Display` [INFO] [stdout] which is required by `&Vec: ToString` [INFO] [stdout] `[LispToken]: std::fmt::Display` [INFO] [stdout] which is required by `[LispToken]: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for reference `&Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/types.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | &LispToken::List(ref l) => l.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `&Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec: std::fmt::Display` [INFO] [stdout] which is required by `Vec: ToString` [INFO] [stdout] `&Vec: std::fmt::Display` [INFO] [stdout] which is required by `&Vec: ToString` [INFO] [stdout] `[LispToken]: std::fmt::Display` [INFO] [stdout] which is required by `[LispToken]: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/types.rs:53:66 [INFO] [stdout] | [INFO] [stdout] 53 | &LispToken::Executable(ref f, ref a) => format!("({} {})", f, a), [INFO] [stdout] | ^ `Vec` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Vec`, which is required by `&Vec: std::fmt::Display` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/types.rs:53:66 [INFO] [stdout] | [INFO] [stdout] 53 | &LispToken::Executable(ref f, ref a) => format!("({} {})", f, a), [INFO] [stdout] | ^ `Vec` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Vec`, which is required by `&Vec: std::fmt::Display` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/types.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | let t = from_str(s.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/types.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | let t = from_str(s.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/types.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let t = from_str(s.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/types.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let t = from_str(s.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ParserToken` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/types.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | debugln(format!("{} => {}", token, t).as_slice()); //DEBUG [INFO] [stdout] | ^^^^^ `ParserToken` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `ParserToken`, which is required by `&ParserToken: std::fmt::Display` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ParserToken` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/types.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | debugln(format!("{} => {}", token, t).as_slice()); //DEBUG [INFO] [stdout] | ^^^^^ `ParserToken` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `ParserToken`, which is required by `&ParserToken: std::fmt::Display` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | debugln(format!("{} => {}", token, t).as_slice()); //DEBUG [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/types.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | debugln(format!("{} => {}", token, t).as_slice()); //DEBUG [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/types.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | }.or(from_str(s).map(|e| LispToken::Integer(e))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to call the associated function [INFO] [stdout] | [INFO] [stdout] 103 | }.or(Self::from_str(s).map(|e| LispToken::Integer(e))) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/types.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | .or(from_str(s).map(|e| LispToken::FloatingPoint(e))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to call the associated function [INFO] [stdout] | [INFO] [stdout] 104 | .or(Self::from_str(s).map(|e| LispToken::FloatingPoint(e))) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/types.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | }.or(from_str(s).map(|e| LispToken::Integer(e))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to call the associated function [INFO] [stdout] | [INFO] [stdout] 103 | }.or(Self::from_str(s).map(|e| LispToken::Integer(e))) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/types.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | .or(from_str(s).map(|e| LispToken::Boolean(e))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to call the associated function [INFO] [stdout] | [INFO] [stdout] 105 | .or(Self::from_str(s).map(|e| LispToken::Boolean(e))) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/types.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | .or(from_str(s).map(|e| LispToken::FloatingPoint(e))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to call the associated function [INFO] [stdout] | [INFO] [stdout] 104 | .or(Self::from_str(s).map(|e| LispToken::FloatingPoint(e))) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/types.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | .or(from_str(s).map(|e| LispToken::Boolean(e))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to call the associated function [INFO] [stdout] | [INFO] [stdout] 105 | .or(Self::from_str(s).map(|e| LispToken::Boolean(e))) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/types.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | self.funct.call((ee, args)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/types.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | self.funct.call((ee, args)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | self.tokens.push( parse_line( self.token.as_slice() ) ); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | self.tokens.push( parse_line( self.token.as_slice() ) ); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:75:64 [INFO] [stdout] | [INFO] [stdout] 75 | debugln(format!("\npushin symbol:'{}'", self.token.clone()).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:75:64 [INFO] [stdout] | [INFO] [stdout] 75 | debugln(format!("\npushin symbol:'{}'", self.token.clone()).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | debug(format!("{} ", c).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | debug(format!("{} ", c).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:103:63 [INFO] [stdout] | [INFO] [stdout] 103 | debugln(format!("\npushin symbol:'{}'", self.token.clone()).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:103:63 [INFO] [stdout] | [INFO] [stdout] 103 | debugln(format!("\npushin symbol:'{}'", self.token.clone()).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/parser.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | code_str.split_str(";").map(|s| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 110 | code_str.split(";").map(|s| { [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/parser.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | code_str.split_str(";").map(|s| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 110 | code_str.split(";").map(|s| { [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | debugln(format!("parsing: {}", code_str).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/parser.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | debugln(format!("parsing: {}", code_str).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/eval.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | &LispToken::Variable(ref v) => self.get_var( v.as_slice() ).unwrap(), [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/eval.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | &LispToken::Variable(ref v) => self.get_var( v.as_slice() ).unwrap(), [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/eval.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | self.get_fn( f.as_slice() ).unwrap() [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `LispToken` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/eval.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | debugln(format!(":: {}", r).as_slice()); [INFO] [stdout] | ^ `LispToken` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `LispToken` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/eval.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | self.get_fn( f.as_slice() ).unwrap() [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/eval.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | debugln(format!(":: {}", r).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `LispToken` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/eval.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | debugln(format!(":: {}", r).as_slice()); [INFO] [stdout] | ^ `LispToken` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `LispToken` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/eval.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | debugln(format!(":: {}", r).as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | fn debug(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn debugln(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0425, E0432, E0463, E0599, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | fn debug(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn debugln(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0425, E0432, E0463, E0599, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lispers` (lib) due to 49 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lispers` (lib test) due to 49 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "63248862cec3a404be26b94e90a79d5b4cb705dfbb4d92d8661c855f9338ebfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63248862cec3a404be26b94e90a79d5b4cb705dfbb4d92d8661c855f9338ebfd", kill_on_drop: false }` [INFO] [stdout] 63248862cec3a404be26b94e90a79d5b4cb705dfbb4d92d8661c855f9338ebfd