[INFO] cloning repository https://github.com/jrvidal/r5.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jrvidal/r5.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrvidal%2Fr5.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrvidal%2Fr5.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae715768cf6c46ab228ede11aaddbb7f8f428260 [INFO] checking jrvidal/r5.rs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrvidal%2Fr5.rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jrvidal/r5.rs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jrvidal/r5.rs [INFO] finished tweaking git repo https://github.com/jrvidal/r5.rs [INFO] tweaked toml for git repo https://github.com/jrvidal/r5.rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jrvidal/r5.rs 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.1.41 [INFO] [stderr] Downloaded termcolor v0.3.6 [INFO] [stderr] Downloaded env_logger v0.5.10 [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded atty v0.2.10 [INFO] [stderr] Downloaded nix v0.5.1 [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] [stderr] Downloaded regex-syntax v0.6.0 [INFO] [stderr] Downloaded regex v1.0.0 [INFO] [stderr] Downloaded gc v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa481cda6bd21ba51e3f8b850526e1849c356ee449094d0f618a2efe5e193a4f [INFO] running `Command { std: "docker" "start" "-a" "fa481cda6bd21ba51e3f8b850526e1849c356ee449094d0f618a2efe5e193a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa481cda6bd21ba51e3f8b850526e1849c356ee449094d0f618a2efe5e193a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa481cda6bd21ba51e3f8b850526e1849c356ee449094d0f618a2efe5e193a4f", kill_on_drop: false }` [INFO] [stdout] fa481cda6bd21ba51e3f8b850526e1849c356ee449094d0f618a2efe5e193a4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d51897d533a239544da6321b0b4c1d79b4ac807aad42447e859ce91f403fb47 [INFO] running `Command { std: "docker" "start" "-a" "4d51897d533a239544da6321b0b4c1d79b4ac807aad42447e859ce91f403fb47", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking gc v0.3.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking regex-syntax v0.6.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking env_logger v0.5.10 [INFO] [stderr] Checking r5rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/compiler/mod.rs:771:20 [INFO] [stdout] | [INFO] [stdout] 771 | ) -> Result)>, CompilerError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 771 - ) -> Result)>, CompilerError> { [INFO] [stdout] 771 + ) -> Result>, CompilerError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/number/mod.rs:622:21 [INFO] [stdout] | [INFO] [stdout] 622 | Some('0'...'9') | Some('a'...'f') | Some('s') | Some('l') => if pounds == 0 [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/number/mod.rs:622:39 [INFO] [stdout] | [INFO] [stdout] 622 | Some('0'...'9') | Some('a'...'f') | Some('s') | Some('l') => if pounds == 0 [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/number/mod.rs:579:20 [INFO] [stdout] | [INFO] [stdout] 579 | 'a'...'f' if !$decimal && $radix == 16 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 623 | && is_valid_digit!(peek.unwrap(), radix, num_type == Number::Dec) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `is_valid_digit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/number/mod.rs:581:20 [INFO] [stdout] | [INFO] [stdout] 581 | '2'...'7' if $radix >= 8 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 623 | && is_valid_digit!(peek.unwrap(), radix, num_type == Number::Dec) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `is_valid_digit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/number/mod.rs:686:24 [INFO] [stdout] | [INFO] [stdout] 686 | Some(x) if is_digit!(x) => { [INFO] [stdout] | ------------ in this macro invocation [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: this warning originates in the macro `is_digit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/token.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | | (Some('0'...'9'), _) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/token.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | | (Some('+'), Some('0'...'9')) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/token.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | | (Some('-'), Some('0'...'9')) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/token.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | | (Some('.'), Some('0'...'9')) => match NumberToken::parse(stream) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:132:31 [INFO] [stdout] | [INFO] [stdout] 132 | Ok(nt) => ret_val!(Token::Number(nt)), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | '(' => ret_val!(Token::Open), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | ')' => ret_val!(Token::Close), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | '`' => ret_val!(Token::BackQuote), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | '\'' => ret_val!(Token::SingleQuote), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:173:55 [INFO] [stdout] | [INFO] [stdout] 173 | (x, _) if is_delimiter!(x) => ret_val!(Token::Dot), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | ... ret_val!(Token::Character(next.unwrap())) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ret_val` [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | ret_val!(Token::Identifier(c.to_string())) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ret_val` [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | ... ret_val!(Token::CommaAt) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ret_val` [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:214:30 [INFO] [stdout] | [INFO] [stdout] 214 | _ => ret_val!(Token::Comma), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | _ => ret_val!(Token::Identifier(d.to_string())), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | '"' => ret_val!(Token::String(string_buf.clone())), [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:276:26 [INFO] [stdout] | [INFO] [stdout] 276 | _ => ret_val!(Token::Identifier(string_buf.clone())), [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | is_initial(c) || is_digit!(c) || is_special_subsequent(c) [INFO] [stdout] | ------------ in this macro invocation [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: this warning originates in the macro `is_digit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/token.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | 'a'...'z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> src/vm/stdlib.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | use std::cmp::PartialOrd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/compiler/mod.rs:771:20 [INFO] [stdout] | [INFO] [stdout] 771 | ) -> Result)>, CompilerError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 771 - ) -> Result)>, CompilerError> { [INFO] [stdout] 771 + ) -> Result>, CompilerError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `parse_complex` is imported redundantly [INFO] [stdout] --> src/lexer/number/test.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `parse_complex` is already imported here [INFO] [stdout] 3 | use super::{parse_complex, parse_prefix, parse_real, parse_suffix}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `parse_prefix` is imported redundantly [INFO] [stdout] --> src/lexer/number/test.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `parse_prefix` is already imported here [INFO] [stdout] 3 | use super::{parse_complex, parse_prefix, parse_real, parse_suffix}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `parse_real` is imported redundantly [INFO] [stdout] --> src/lexer/number/test.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `parse_real` is already imported here [INFO] [stdout] 3 | use super::{parse_complex, parse_prefix, parse_real, parse_suffix}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `parse_suffix` is imported redundantly [INFO] [stdout] --> src/lexer/number/test.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `parse_suffix` is already imported here [INFO] [stdout] 3 | use super::{parse_complex, parse_prefix, parse_real, parse_suffix}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/number/mod.rs:622:21 [INFO] [stdout] | [INFO] [stdout] 622 | Some('0'...'9') | Some('a'...'f') | Some('s') | Some('l') => if pounds == 0 [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/number/mod.rs:622:39 [INFO] [stdout] | [INFO] [stdout] 622 | Some('0'...'9') | Some('a'...'f') | Some('s') | Some('l') => if pounds == 0 [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/number/mod.rs:579:20 [INFO] [stdout] | [INFO] [stdout] 579 | 'a'...'f' if !$decimal && $radix == 16 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 623 | && is_valid_digit!(peek.unwrap(), radix, num_type == Number::Dec) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `is_valid_digit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/number/mod.rs:581:20 [INFO] [stdout] | [INFO] [stdout] 581 | '2'...'7' if $radix >= 8 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] ... [INFO] [stdout] 623 | && is_valid_digit!(peek.unwrap(), radix, num_type == Number::Dec) [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `is_valid_digit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/number/mod.rs:686:24 [INFO] [stdout] | [INFO] [stdout] 686 | Some(x) if is_digit!(x) => { [INFO] [stdout] | ------------ in this macro invocation [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: this warning originates in the macro `is_digit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/token.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | | (Some('0'...'9'), _) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/token.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | | (Some('+'), Some('0'...'9')) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/token.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | | (Some('-'), Some('0'...'9')) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/token.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | | (Some('.'), Some('0'...'9')) => match NumberToken::parse(stream) { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:132:31 [INFO] [stdout] | [INFO] [stdout] 132 | Ok(nt) => ret_val!(Token::Number(nt)), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | '(' => ret_val!(Token::Open), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | ')' => ret_val!(Token::Close), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | '`' => ret_val!(Token::BackQuote), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | '\'' => ret_val!(Token::SingleQuote), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:173:55 [INFO] [stdout] | [INFO] [stdout] 173 | (x, _) if is_delimiter!(x) => ret_val!(Token::Dot), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | ... ret_val!(Token::Character(next.unwrap())) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ret_val` [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | ret_val!(Token::Identifier(c.to_string())) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ret_val` [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | ... ret_val!(Token::CommaAt) [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ret_val` [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:214:30 [INFO] [stdout] | [INFO] [stdout] 214 | _ => ret_val!(Token::Comma), [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | _ => ret_val!(Token::Identifier(d.to_string())), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | '"' => ret_val!(Token::String(string_buf.clone())), [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/helpers.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | return ok_some!($x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:276:26 [INFO] [stdout] | [INFO] [stdout] 276 | _ => ret_val!(Token::Identifier(string_buf.clone())), [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ret_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/macros.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] ::: src/lexer/token.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | is_initial(c) || is_digit!(c) || is_special_subsequent(c) [INFO] [stdout] | ------------ in this macro invocation [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: this warning originates in the macro `is_digit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer/token.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | 'a'...'z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: the item `Token` is imported redundantly [INFO] [stdout] --> src/reader/datum.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | use super::*; [INFO] [stdout] | -------- the item `Token` is already imported here [INFO] [stdout] 202 | use lexer::Token; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/reader/datum.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 201 | use super::*; [INFO] [stdout] | -------- the item `VecDeque` is already imported here [INFO] [stdout] 202 | use lexer::Token; [INFO] [stdout] 203 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialOrd` is imported redundantly [INFO] [stdout] --> src/vm/stdlib.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | use std::cmp::PartialOrd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialOrd` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `result` is never used [INFO] [stdout] --> src/helpers.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Tuple2Helper { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 6 | fn result(self) -> Result<(A, B), E>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `result` is never used [INFO] [stdout] --> src/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Tuple3Helper { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 19 | fn result(self) -> Result<(A, B, C), E>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `result` is never used [INFO] [stdout] --> src/helpers.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait ResultHelper { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 32 | fn result(self) -> Result<(), ()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReversedIterator` is never constructed [INFO] [stdout] --> src/compiler/mod.rs:1254:8 [INFO] [stdout] | [INFO] [stdout] 1254 | struct ReversedIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Reverse` is never used [INFO] [stdout] --> src/compiler/mod.rs:1269:7 [INFO] [stdout] | [INFO] [stdout] 1269 | trait Reverse [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/lexer/token.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct TokenizerError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 41 | error: TokenErrorClass, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenizerError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent` and `bindings` are never read [INFO] [stdout] --> src/vm/environment.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct FmtEnvironment<'a, V: Trace + Debug + 'static> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | parent: Option<&'a GcShared>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | bindings: hash_map::Keys<'a, ImmutableString, V>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FmtEnvironment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/bin/interpreter.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate env_logger; [INFO] [stdout] | ------------------------ the item `env_logger` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rustyline` is imported redundantly [INFO] [stdout] --> src/bin/interpreter.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate rustyline; [INFO] [stdout] | ----------------------- the item `rustyline` is already imported here [INFO] [stdout] ... [INFO] [stdout] 27 | use rustyline; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/bin/interpreter.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate env_logger; [INFO] [stdout] | ------------------------ the item `env_logger` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rustyline` is imported redundantly [INFO] [stdout] --> src/bin/interpreter.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate rustyline; [INFO] [stdout] | ----------------------- the item `rustyline` is already imported here [INFO] [stdout] ... [INFO] [stdout] 27 | use rustyline; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `result` is never used [INFO] [stdout] --> src/helpers.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Tuple2Helper { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 6 | fn result(self) -> Result<(A, B), E>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `result` is never used [INFO] [stdout] --> src/helpers.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Tuple3Helper { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 19 | fn result(self) -> Result<(A, B, C), E>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `result` is never used [INFO] [stdout] --> src/helpers.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait ResultHelper { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 32 | fn result(self) -> Result<(), ()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReversedIterator` is never constructed [INFO] [stdout] --> src/compiler/mod.rs:1254:8 [INFO] [stdout] | [INFO] [stdout] 1254 | struct ReversedIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Reverse` is never used [INFO] [stdout] --> src/compiler/mod.rs:1269:7 [INFO] [stdout] | [INFO] [stdout] 1269 | trait Reverse [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/lexer/token.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct TokenizerError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 41 | error: TokenErrorClass, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenizerError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent` and `bindings` are never read [INFO] [stdout] --> src/vm/environment.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct FmtEnvironment<'a, V: Trace + Debug + 'static> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | parent: Option<&'a GcShared>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | bindings: hash_map::Keys<'a, ImmutableString, V>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FmtEnvironment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.92s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: r5rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "4d51897d533a239544da6321b0b4c1d79b4ac807aad42447e859ce91f403fb47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d51897d533a239544da6321b0b4c1d79b4ac807aad42447e859ce91f403fb47", kill_on_drop: false }` [INFO] [stdout] 4d51897d533a239544da6321b0b4c1d79b4ac807aad42447e859ce91f403fb47