[INFO] cloning repository https://github.com/rusty-cat-life/parser_2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rusty-cat-life/parser_2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusty-cat-life%2Fparser_2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusty-cat-life%2Fparser_2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0f36855feb908c51948059186687b240401f7c9 [INFO] testing rusty-cat-life/parser_2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusty-cat-life%2Fparser_2" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rusty-cat-life/parser_2 [INFO] finished tweaking git repo https://github.com/rusty-cat-life/parser_2 [INFO] tweaked toml for git repo https://github.com/rusty-cat-life/parser_2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rusty-cat-life/parser_2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rusty-cat-life/parser_2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 724889524d5c95cb4e84d4579e3dd5118c4b37511954a62b16d19acec5fdcfcb [INFO] running `Command { std: "docker" "start" "-a" "724889524d5c95cb4e84d4579e3dd5118c4b37511954a62b16d19acec5fdcfcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "724889524d5c95cb4e84d4579e3dd5118c4b37511954a62b16d19acec5fdcfcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "724889524d5c95cb4e84d4579e3dd5118c4b37511954a62b16d19acec5fdcfcb", kill_on_drop: false }` [INFO] [stdout] 724889524d5c95cb4e84d4579e3dd5118c4b37511954a62b16d19acec5fdcfcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b38a8bbe0becdb7d246f3464423ead50bc76cd7007cd662d16e2f31042523519 [INFO] running `Command { std: "docker" "start" "-a" "b38a8bbe0becdb7d246f3464423ead50bc76cd7007cd662d16e2f31042523519", kill_on_drop: false }` [INFO] [stderr] Compiling compiler_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | b'0'...b'9' => lex_a_token!(lex_number(input, position)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | b'a'...b'z' => lex_a_token!(lex_str(input, position)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common.rs:301:25 [INFO] [stdout] | [INFO] [stdout] 301 | let (e, loc): (&std::error::Error, Loc) = match self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 301 | let (e, loc): (&dyn std::error::Error, Loc) = match self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equal`, `Unequal`, `Greater`, `GreaterEqual`, `Less`, and `LessEqual` are never constructed [INFO] [stdout] --> src/common.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | // != [INFO] [stdout] 59 | Unequal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | /// > [INFO] [stdout] 61 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | /// >= [INFO] [stdout] 63 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | /// < [INFO] [stdout] 65 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | /// <= [INFO] [stdout] 67 | LessEqual [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `num` and `var` are never used [INFO] [stdout] --> src/common.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 193 | impl Ast { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 194 | pub fn num(n: u64, loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn var(s: String, loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "b38a8bbe0becdb7d246f3464423ead50bc76cd7007cd662d16e2f31042523519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b38a8bbe0becdb7d246f3464423ead50bc76cd7007cd662d16e2f31042523519", kill_on_drop: false }` [INFO] [stdout] b38a8bbe0becdb7d246f3464423ead50bc76cd7007cd662d16e2f31042523519 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6275acd189987931249ed6cd4e10dd3974340b209aefdb62cad9670afca76b2 [INFO] running `Command { std: "docker" "start" "-a" "b6275acd189987931249ed6cd4e10dd3974340b209aefdb62cad9670afca76b2", kill_on_drop: false }` [INFO] [stderr] Compiling compiler_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | b'0'...b'9' => lex_a_token!(lex_number(input, position)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | b'a'...b'z' => lex_a_token!(lex_str(input, position)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common.rs:301:25 [INFO] [stdout] | [INFO] [stdout] 301 | let (e, loc): (&std::error::Error, Loc) = match self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 301 | let (e, loc): (&dyn std::error::Error, Loc) = match self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equal`, `Unequal`, `Greater`, `GreaterEqual`, `Less`, and `LessEqual` are never constructed [INFO] [stdout] --> src/common.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | // != [INFO] [stdout] 59 | Unequal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | /// > [INFO] [stdout] 61 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | /// >= [INFO] [stdout] 63 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 64 | /// < [INFO] [stdout] 65 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | /// <= [INFO] [stdout] 67 | LessEqual [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `var` is never used [INFO] [stdout] --> src/common.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 193 | impl Ast { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn var(s: String, loc: Loc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "b6275acd189987931249ed6cd4e10dd3974340b209aefdb62cad9670afca76b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6275acd189987931249ed6cd4e10dd3974340b209aefdb62cad9670afca76b2", kill_on_drop: false }` [INFO] [stdout] b6275acd189987931249ed6cd4e10dd3974340b209aefdb62cad9670afca76b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 948cda2a35e09e8b94f5adf02c9bc41ad7ab58257b103d916652766209f01426 [INFO] running `Command { std: "docker" "start" "-a" "948cda2a35e09e8b94f5adf02c9bc41ad7ab58257b103d916652766209f01426", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stdout] [INFO] [stderr] --> src/parser.rs:22:17 [INFO] [stdout] running 4 tests [INFO] [stderr] | [INFO] [stdout] test parser::test_lexer ... ok [INFO] [stderr] 22 | b'0'...b'9' => lex_a_token!(lex_number(input, position)), [INFO] [stdout] test parser::test_parser ... ok [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parser.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | b'a'...b'z' => lex_a_token!(lex_str(input, position)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/common.rs:301:25 [INFO] [stderr] | [INFO] [stderr] 301 | let (e, loc): (&std::error::Error, Loc) = match self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 301 | let (e, loc): (&dyn std::error::Error, Loc) = match self { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Equal`, `Unequal`, `Greater`, `GreaterEqual`, `Less`, and `LessEqual` are never constructed [INFO] [stderr] --> src/common.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub enum TokenKind { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 57 | Equal, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 58 | // != [INFO] [stderr] 59 | Unequal, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 60 | /// > [INFO] [stderr] 61 | Greater, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 62 | /// >= [INFO] [stderr] 63 | GreaterEqual, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 64 | /// < [INFO] [stderr] 65 | Less, [INFO] [stderr] | ^^^^ [INFO] [stderr] 66 | /// <= [INFO] [stderr] 67 | LessEqual [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `var` is never used [INFO] [stderr] --> src/common.rs:221:12 [INFO] [stderr] | [INFO] [stderr] 193 | impl Ast { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 221 | pub fn var(s: String, loc: Loc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `compiler_interpreter` (bin "compiler_interpreter" test) generated 6 warnings (run `cargo fix --bin "compiler_interpreter" -p compiler_interpreter --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/compiler_interpreter-679778e01f6e3b4b) [INFO] [stdout] test parser::test_lexer2 ... ok [INFO] [stdout] test parser::test_parser2 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- parser::test_parser2 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'parser::test_parser2' (28) panicked at src/parser.rs:420:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Err(UnexpectedToken(Annot { value: Assign, loc: Loc(6, 7) })) [INFO] [stdout] right: Ok(Annot { value: Int { var: "x", body: Annot { value: Num(1), loc: Loc(8, 9) } }, loc: Loc(0, 10) }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x633b1ad00312 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x633b1ad00312 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x633b1ad00312 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x633b1ad00312 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x633b1ad102af - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x633b1ad102af - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x633b1accdf13 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x633b1accdf13 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x633b1acd9b82 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x633b1acde65f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x633b1acde4f1 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x633b1aca16be - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x633b1aca16be - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x633b1acdec6f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x633b1acdec6f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x633b1acdeaca - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x633b1acd9cb9 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x633b1acc25ad - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x633b1ad17c80 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x633b1ad17a83 - core::panicking::assert_failed_inner::ha59fbb70905830e9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:444:17 [INFO] [stdout] 20: 0x633b1ac7e898 - core::panicking::assert_failed::h374dc5919e1b7e49 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:399:5 [INFO] [stdout] 21: 0x633b1ac775a1 - compiler_interpreter::parser::test_parser2::h2b7e577456586a20 [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:420:5 [INFO] [stdout] 22: 0x633b1ac77637 - compiler_interpreter::parser::test_parser2::{{closure}}::h71b33f34b51e2f6a [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:411:18 [INFO] [stdout] 23: 0x633b1ac7a526 - core::ops::function::FnOnce::call_once::h7103ab39b6cdb400 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x633b1aca152b - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x633b1aca152b - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x633b1acb551d - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x633b1acb551d - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x633b1acb551d - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x633b1acb551d - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x633b1acb551d - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x633b1acb551d - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x633b1acb551d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x633b1ac8ea64 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x633b1ac8ea64 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x633b1ac922ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x633b1ac922ba - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x633b1ac922ba - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x633b1ac922ba - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x633b1ac922ba - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x633b1ac922ba - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x633b1ac922ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x633b1acd50bf - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x633b1acd50bf - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7d87fa074aa4 - [INFO] [stdout] 45: 0x7d87fa101a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] parser::test_parser2 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin compiler_interpreter` [INFO] running `Command { std: "docker" "inspect" "948cda2a35e09e8b94f5adf02c9bc41ad7ab58257b103d916652766209f01426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948cda2a35e09e8b94f5adf02c9bc41ad7ab58257b103d916652766209f01426", kill_on_drop: false }` [INFO] [stdout] 948cda2a35e09e8b94f5adf02c9bc41ad7ab58257b103d916652766209f01426