[INFO] cloning repository https://github.com/tuxxi/Risp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tuxxi/Risp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuxxi%2FRisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuxxi%2FRisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 150af8f63e3774ba5e459db174093b517184d13b [INFO] checking tuxxi/Risp against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuxxi%2FRisp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tuxxi/Risp on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tuxxi/Risp [INFO] finished tweaking git repo https://github.com/tuxxi/Risp [INFO] tweaked toml for git repo https://github.com/tuxxi/Risp written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tuxxi/Risp 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8parse v0.1.1 [INFO] [stderr] Downloaded rustyline v6.0.0 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5b442023d153fe259a0cdba8ed7b290e4c8850c1cd651a96c2827c1803e6d3a [INFO] running `Command { std: "docker" "start" "-a" "d5b442023d153fe259a0cdba8ed7b290e4c8850c1cd651a96c2827c1803e6d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5b442023d153fe259a0cdba8ed7b290e4c8850c1cd651a96c2827c1803e6d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b442023d153fe259a0cdba8ed7b290e4c8850c1cd651a96c2827c1803e6d3a", kill_on_drop: false }` [INFO] [stdout] d5b442023d153fe259a0cdba8ed7b290e4c8850c1cd651a96c2827c1803e6d3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 463524f648ac4054a172f6b05a03c44ca234906e67e222906070e260efd0a5e0 [INFO] running `Command { std: "docker" "start" "-a" "463524f648ac4054a172f6b05a03c44ca234906e67e222906070e260efd0a5e0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rustyline v6.0.0 [INFO] [stderr] Checking risp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parse.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_string(c: char, iter: &mut Peekable) -> Token [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Builtin`, `Boolean`, `Char`, `Number`, `Str`, and `Symbol` are never constructed [INFO] [stdout] --> src/expr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Atom { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 7 | Builtin(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Char(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Symbol(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Atom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Atom` and `SExpr` are never constructed [INFO] [stdout] --> src/expr.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum SExpr { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 17 | Atom(Atom), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | SExpr(List), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cons`, `tail`, `head`, and `nil` are never used [INFO] [stdout] --> src/list.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn cons(&self, elem: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn tail(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn nil() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/parse.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex` is never used [INFO] [stdout] --> src/parse.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn lex(input: &String) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_paren` is never used [INFO] [stdout] --> src/parse.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn is_paren(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_number` is never used [INFO] [stdout] --> src/parse.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn get_number(c: char, iter: &mut Peekable) -> Token [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_string` is never used [INFO] [stdout] --> src/parse.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_string(c: char, iter: &mut Peekable) -> Token [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_symbol` is never used [INFO] [stdout] --> src/parse.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_symbol(c: char, iter: &mut Peekable) -> Token [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parse.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_string(c: char, iter: &mut Peekable) -> Token [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Builtin(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Atom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Builtin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | Symbol(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Atom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Boolean` and `Char` are never constructed [INFO] [stdout] --> src/expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Atom { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 7 | Builtin(String), [INFO] [stdout] 8 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Char(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Atom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `nil` is never used [INFO] [stdout] --> src/list.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl List { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn nil() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Atom(Atom), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | Atom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.68s [INFO] running `Command { std: "docker" "inspect" "463524f648ac4054a172f6b05a03c44ca234906e67e222906070e260efd0a5e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "463524f648ac4054a172f6b05a03c44ca234906e67e222906070e260efd0a5e0", kill_on_drop: false }` [INFO] [stdout] 463524f648ac4054a172f6b05a03c44ca234906e67e222906070e260efd0a5e0 [INFO] checking tuxxi/Risp against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuxxi%2FRisp" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tuxxi/Risp on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tuxxi/Risp [INFO] finished tweaking git repo https://github.com/tuxxi/Risp [INFO] tweaked toml for git repo https://github.com/tuxxi/Risp written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tuxxi/Risp 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9848f02c4ca2d2a19068549df159e1017251e4f07af17ea482cffa146f04f17c [INFO] running `Command { std: "docker" "start" "-a" "9848f02c4ca2d2a19068549df159e1017251e4f07af17ea482cffa146f04f17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9848f02c4ca2d2a19068549df159e1017251e4f07af17ea482cffa146f04f17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9848f02c4ca2d2a19068549df159e1017251e4f07af17ea482cffa146f04f17c", kill_on_drop: false }` [INFO] [stdout] 9848f02c4ca2d2a19068549df159e1017251e4f07af17ea482cffa146f04f17c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 746c330d3c79331b9c119f0f888a85b6544b9690a394ba2b18f1b4f7397aba4a [INFO] running `Command { std: "docker" "start" "-a" "746c330d3c79331b9c119f0f888a85b6544b9690a394ba2b18f1b4f7397aba4a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rustyline v6.0.0 [INFO] [stderr] Checking risp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parse.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_string(c: char, iter: &mut Peekable) -> Token [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Builtin`, `Boolean`, `Char`, `Number`, `Str`, and `Symbol` are never constructed [INFO] [stdout] --> src/expr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Atom { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 7 | Builtin(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Char(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Symbol(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Atom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Atom` and `SExpr` are never constructed [INFO] [stdout] --> src/expr.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum SExpr { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 17 | Atom(Atom), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | SExpr(List), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `cons`, `tail`, `head`, and `nil` are never used [INFO] [stdout] --> src/list.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn cons(&self, elem: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn tail(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn nil() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/parse.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex` is never used [INFO] [stdout] --> src/parse.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn lex(input: &String) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_paren` is never used [INFO] [stdout] --> src/parse.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn is_paren(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_number` is never used [INFO] [stdout] --> src/parse.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn get_number(c: char, iter: &mut Peekable) -> Token [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_string` is never used [INFO] [stdout] --> src/parse.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_string(c: char, iter: &mut Peekable) -> Token [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_symbol` is never used [INFO] [stdout] --> src/parse.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_symbol(c: char, iter: &mut Peekable) -> Token [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/list.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn cons(&self, elem: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | List { head: Some(Rc::new(Node { [INFO] [stdout] | ______________________^ [INFO] [stdout] 28 | | elem: elem, [INFO] [stdout] 29 | | next: self.head.clone(), [INFO] [stdout] 30 | | }))} [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `risp` (bin "risp") due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parse.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_string(c: char, iter: &mut Peekable) -> Token [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Builtin(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Atom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Builtin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | Symbol(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Atom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Boolean` and `Char` are never constructed [INFO] [stdout] --> src/expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Atom { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 7 | Builtin(String), [INFO] [stdout] 8 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Char(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Atom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `nil` is never used [INFO] [stdout] --> src/list.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl List { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn nil() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Atom(Atom), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | Atom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/list.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn cons(&self, elem: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | List { head: Some(Rc::new(Node { [INFO] [stdout] | ______________________^ [INFO] [stdout] 28 | | elem: elem, [INFO] [stdout] 29 | | next: self.head.clone(), [INFO] [stdout] 30 | | }))} [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `risp` (bin "risp" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "746c330d3c79331b9c119f0f888a85b6544b9690a394ba2b18f1b4f7397aba4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "746c330d3c79331b9c119f0f888a85b6544b9690a394ba2b18f1b4f7397aba4a", kill_on_drop: false }` [INFO] [stdout] 746c330d3c79331b9c119f0f888a85b6544b9690a394ba2b18f1b4f7397aba4a