[INFO] cloning repository https://github.com/qiaojinxia/StanfordCompilers-priciples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qiaojinxia/StanfordCompilers-priciples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaojinxia%2FStanfordCompilers-priciples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaojinxia%2FStanfordCompilers-priciples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6848bb99d35073a3b3e7304f990defbc79916a74 [INFO] checking qiaojinxia/StanfordCompilers-priciples against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaojinxia%2FStanfordCompilers-priciples" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qiaojinxia/StanfordCompilers-priciples 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/qiaojinxia/StanfordCompilers-priciples [INFO] finished tweaking git repo https://github.com/qiaojinxia/StanfordCompilers-priciples [INFO] tweaked toml for git repo https://github.com/qiaojinxia/StanfordCompilers-priciples written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/qiaojinxia/StanfordCompilers-priciples 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d09d03275b7ae67ab3c7cff6329185deb43896fc056b997c78882cfca5898e1b [INFO] running `Command { std: "docker" "start" "-a" "d09d03275b7ae67ab3c7cff6329185deb43896fc056b997c78882cfca5898e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d09d03275b7ae67ab3c7cff6329185deb43896fc056b997c78882cfca5898e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d09d03275b7ae67ab3c7cff6329185deb43896fc056b997c78882cfca5898e1b", kill_on_drop: false }` [INFO] [stdout] d09d03275b7ae67ab3c7cff6329185deb43896fc056b997c78882cfca5898e1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6330285fe8de5c5417125ec55c5470e475836b679426fffdafb5cccab9867869 [INFO] running `Command { std: "docker" "start" "-a" "6330285fe8de5c5417125ec55c5470e475836b679426fffdafb5cccab9867869", kill_on_drop: false }` [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking StanfordCompilers-priciples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ASSIGN`, `ASTERISK`, `MINUS`, `PLUS`, and `SLASH` [INFO] [stdout] --> src/lexers.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::define::TokenType::{ASSIGN, ASTERISK, EOF, ID, KEYWORDS, LPAREN, MINUS, NUM, PLUS, RPAREN, SEMICOLON, SLASH, LBRACES, RBRACES}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ASSIGN`, `ASTERISK`, `MINUS`, `PLUS`, and `SLASH` [INFO] [stdout] --> src/lexers.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::define::TokenType::{ASSIGN, ASTERISK, EOF, ID, KEYWORDS, LPAREN, MINUS, NUM, PLUS, RPAREN, SEMICOLON, SLASH, LBRACES, RBRACES}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/parse.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn func_parser_if(parser: &mut Parser) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/parse.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn func_parser_if(parser: &mut Parser) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `curr_token` is never read [INFO] [stdout] --> src/parse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct TokenScaner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | scan_token: usize, [INFO] [stdout] 11 | curr_token: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenScaner` 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: field `curr_token` is never read [INFO] [stdout] --> src/parse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct TokenScaner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | scan_token: usize, [INFO] [stdout] 11 | curr_token: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenScaner` 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: struct `Strings` is never constructed [INFO] [stdout] --> src/ast.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Strings { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Strings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Strings` is never constructed [INFO] [stdout] --> src/ast.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Strings { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Strings` 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 `new` is never used [INFO] [stdout] --> src/ast.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 53 | impl Strings { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 54 | pub(crate) fn new() -> Strings { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 53 | impl Strings { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 54 | pub(crate) fn new() -> Strings { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m_type` and `body` are never read [INFO] [stdout] --> src/ast.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct ArrayExpress { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 104 | pub(crate) m_type: TokenType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | pub(crate) body:Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m_type` and `body` are never read [INFO] [stdout] --> src/ast.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct BlockStatement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 120 | pub(crate) m_type: TokenType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | pub(crate) body:Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m_type` and `body` are never read [INFO] [stdout] --> src/ast.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct ArrayExpress { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 104 | pub(crate) m_type: TokenType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | pub(crate) body:Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `test` and `alternate` are never read [INFO] [stdout] --> src/ast.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct IfStatement{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 135 | pub(crate) test:Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 136 | pub(crate) alternate:Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m_type` and `body` are never read [INFO] [stdout] --> src/ast.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct BlockStatement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 120 | pub(crate) m_type: TokenType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | pub(crate) body:Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MINUS`, `OPERATOR`, and `WHITESPACE` are never constructed [INFO] [stdout] --> src/define.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | MINUS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | OPERATOR, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | WHITESPACE, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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 `test` and `alternate` are never read [INFO] [stdout] --> src/ast.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct IfStatement{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 135 | pub(crate) test:Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 136 | pub(crate) alternate:Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float` and `Strings` are never constructed [INFO] [stdout] --> src/define.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum NType { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 104 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | Strings, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NType` 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: variants `MINUS`, `OPERATOR`, and `WHITESPACE` are never constructed [INFO] [stdout] --> src/define.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | MINUS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | OPERATOR, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | WHITESPACE, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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: variants `Float` and `Strings` are never constructed [INFO] [stdout] --> src/define.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum NType { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 104 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | Strings, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NType` 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:79:69 [INFO] [stdout] | [INFO] [stdout] 79 | tokens.push(Token::form(cur_line, NUM, &CODE.clone()[index..lookup - 1])); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:79:69 [INFO] [stdout] | [INFO] [stdout] 79 | tokens.push(Token::form(cur_line, NUM, &CODE.clone()[index..lookup - 1])); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | let temp_token = &CODE.clone()[index..lookup - 1]; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | let temp_token = &CODE.clone()[index..lookup - 1]; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | tokens.push(Token::form(cur_line, ID, &CODE.clone()[index ..lookup -1])); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | tokens.push(Token::form(cur_line, ID, &CODE.clone()[index ..lookup -1])); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "6330285fe8de5c5417125ec55c5470e475836b679426fffdafb5cccab9867869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6330285fe8de5c5417125ec55c5470e475836b679426fffdafb5cccab9867869", kill_on_drop: false }` [INFO] [stdout] 6330285fe8de5c5417125ec55c5470e475836b679426fffdafb5cccab9867869 [INFO] checking qiaojinxia/StanfordCompilers-priciples 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%2Fqiaojinxia%2FStanfordCompilers-priciples" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qiaojinxia/StanfordCompilers-priciples 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/qiaojinxia/StanfordCompilers-priciples [INFO] finished tweaking git repo https://github.com/qiaojinxia/StanfordCompilers-priciples [INFO] tweaked toml for git repo https://github.com/qiaojinxia/StanfordCompilers-priciples written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/qiaojinxia/StanfordCompilers-priciples 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ac66552bd23ff4decb64adf2463bca4e7ad915b8f20c0035e47fd34daa771c7a [INFO] running `Command { std: "docker" "start" "-a" "ac66552bd23ff4decb64adf2463bca4e7ad915b8f20c0035e47fd34daa771c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac66552bd23ff4decb64adf2463bca4e7ad915b8f20c0035e47fd34daa771c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac66552bd23ff4decb64adf2463bca4e7ad915b8f20c0035e47fd34daa771c7a", kill_on_drop: false }` [INFO] [stdout] ac66552bd23ff4decb64adf2463bca4e7ad915b8f20c0035e47fd34daa771c7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 94bade8648e3e893bcd42de93e7be8b65aa9aa8ebe35854da2e3551ce857ace5 [INFO] running `Command { std: "docker" "start" "-a" "94bade8648e3e893bcd42de93e7be8b65aa9aa8ebe35854da2e3551ce857ace5", kill_on_drop: false }` [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking StanfordCompilers-priciples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ASSIGN`, `ASTERISK`, `MINUS`, `PLUS`, and `SLASH` [INFO] [stdout] --> src/lexers.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::define::TokenType::{ASSIGN, ASTERISK, EOF, ID, KEYWORDS, LPAREN, MINUS, NUM, PLUS, RPAREN, SEMICOLON, SLASH, LBRACES, RBRACES}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ASSIGN`, `ASTERISK`, `MINUS`, `PLUS`, and `SLASH` [INFO] [stdout] --> src/lexers.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::define::TokenType::{ASSIGN, ASTERISK, EOF, ID, KEYWORDS, LPAREN, MINUS, NUM, PLUS, RPAREN, SEMICOLON, SLASH, LBRACES, RBRACES}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/parse.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn func_parser_if(parser: &mut Parser) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/parse.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn func_parser_if(parser: &mut Parser) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/ast.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `curr_token` is never read [INFO] [stdout] --> src/parse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct TokenScaner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | scan_token: usize, [INFO] [stdout] 11 | curr_token: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenScaner` 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: field `curr_token` is never read [INFO] [stdout] --> src/parse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct TokenScaner { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | scan_token: usize, [INFO] [stdout] 11 | curr_token: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenScaner` 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: struct `Strings` is never constructed [INFO] [stdout] --> src/ast.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Strings { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Strings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Strings` is never constructed [INFO] [stdout] --> src/ast.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Strings { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Strings` 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 `new` is never used [INFO] [stdout] --> src/ast.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 53 | impl Strings { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 54 | pub(crate) fn new() -> Strings { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 53 | impl Strings { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 54 | pub(crate) fn new() -> Strings { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m_type` and `body` are never read [INFO] [stdout] --> src/ast.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct ArrayExpress { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 104 | pub(crate) m_type: TokenType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | pub(crate) body:Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m_type` and `body` are never read [INFO] [stdout] --> src/ast.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct ArrayExpress { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 104 | pub(crate) m_type: TokenType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | pub(crate) body:Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m_type` and `body` are never read [INFO] [stdout] --> src/ast.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct BlockStatement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 120 | pub(crate) m_type: TokenType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | pub(crate) body:Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m_type` and `body` are never read [INFO] [stdout] --> src/ast.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct BlockStatement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 120 | pub(crate) m_type: TokenType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | pub(crate) body:Vec> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `test` and `alternate` are never read [INFO] [stdout] --> src/ast.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct IfStatement{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 135 | pub(crate) test:Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 136 | pub(crate) alternate:Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `test` and `alternate` are never read [INFO] [stdout] --> src/ast.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct IfStatement{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 135 | pub(crate) test:Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 136 | pub(crate) alternate:Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MINUS`, `OPERATOR`, and `WHITESPACE` are never constructed [INFO] [stdout] --> src/define.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | MINUS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | OPERATOR, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | WHITESPACE, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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: variants `MINUS`, `OPERATOR`, and `WHITESPACE` are never constructed [INFO] [stdout] --> src/define.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | MINUS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | OPERATOR, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | WHITESPACE, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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: variants `Float` and `Strings` are never constructed [INFO] [stdout] --> src/define.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum NType { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 104 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | Strings, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NType` 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: variants `Float` and `Strings` are never constructed [INFO] [stdout] --> src/define.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum NType { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 104 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | Strings, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NType` 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:79:69 [INFO] [stdout] | [INFO] [stdout] 79 | tokens.push(Token::form(cur_line, NUM, &CODE.clone()[index..lookup - 1])); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:79:69 [INFO] [stdout] | [INFO] [stdout] 79 | tokens.push(Token::form(cur_line, NUM, &CODE.clone()[index..lookup - 1])); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | let temp_token = &CODE.clone()[index..lookup - 1]; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | let temp_token = &CODE.clone()[index..lookup - 1]; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | tokens.push(Token::form(cur_line, ID, &CODE.clone()[index ..lookup -1])); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexers.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | tokens.push(Token::form(cur_line, ID, &CODE.clone()[index ..lookup -1])); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [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/parse.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 92 | let mut _statment = VarStatements { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Some(Box::new(_statment)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 92 | let mut _statment = VarStatements { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Some(Box::new(_statment)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 129 | left_e: Option>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | ) -> Option> { [INFO] [stdout] 131 | let mut _express = OperatorExpress { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Some(Box::new(_express)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/parse.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 129 | left_e: Option>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | ) -> Option> { [INFO] [stdout] 131 | let mut _express = OperatorExpress { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Some(Box::new(_express)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/parse.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 167 | pub(crate) fn parser_literal(parser: &mut Parser, _: Option>) -> Option> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | Some(Box::new(literal)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/parse.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) fn func_parser_id(parser: &mut Parser, _: Option>) -> Option> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Some(Box::new(_express)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/parse.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 167 | pub(crate) fn parser_literal(parser: &mut Parser, _: Option>) -> Option> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | Some(Box::new(literal)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/parse.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) fn func_parser_id(parser: &mut Parser, _: Option>) -> Option> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Some(Box::new(_express)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `StanfordCompilers-priciples` (bin "StanfordCompilers-priciples" test) due to 5 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `StanfordCompilers-priciples` (bin "StanfordCompilers-priciples") due to 5 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "94bade8648e3e893bcd42de93e7be8b65aa9aa8ebe35854da2e3551ce857ace5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94bade8648e3e893bcd42de93e7be8b65aa9aa8ebe35854da2e3551ce857ace5", kill_on_drop: false }` [INFO] [stdout] 94bade8648e3e893bcd42de93e7be8b65aa9aa8ebe35854da2e3551ce857ace5