[INFO] fetching crate rcalc 0.1.2... [INFO] testing rcalc-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rcalc 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rcalc 0.1.2 [INFO] finished tweaking crates.io crate rcalc 0.1.2 [INFO] tweaked toml for crates.io crate rcalc 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rcalc 0.1.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding rustyline v1.0.0 (available: v17.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] [stderr] Downloaded nix v0.5.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 802485bd4a6cb4734446e80a864b757a3e468e18f96c2b68c9261abcdb0f7d9b [INFO] running `Command { std: "docker" "start" "-a" "802485bd4a6cb4734446e80a864b757a3e468e18f96c2b68c9261abcdb0f7d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "802485bd4a6cb4734446e80a864b757a3e468e18f96c2b68c9261abcdb0f7d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "802485bd4a6cb4734446e80a864b757a3e468e18f96c2b68c9261abcdb0f7d9b", kill_on_drop: false }` [INFO] [stdout] 802485bd4a6cb4734446e80a864b757a3e468e18f96c2b68c9261abcdb0f7d9b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dba019d88b7e168e6a60c090147e8b716ef40094ca3030ba8c7fd8f1e1ff4d63 [INFO] running `Command { std: "docker" "start" "-a" "dba019d88b7e168e6a60c090147e8b716ef40094ca3030ba8c7fd8f1e1ff4d63", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling rcalc v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rcalc/interpreter/interpreter.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from(program: &str) -> Interpreter { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from(program: &str) -> Interpreter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rcalc/lexer.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from(text: &str) -> Lexer { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from(text: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "dba019d88b7e168e6a60c090147e8b716ef40094ca3030ba8c7fd8f1e1ff4d63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dba019d88b7e168e6a60c090147e8b716ef40094ca3030ba8c7fd8f1e1ff4d63", kill_on_drop: false }` [INFO] [stdout] dba019d88b7e168e6a60c090147e8b716ef40094ca3030ba8c7fd8f1e1ff4d63 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad09812e9da47e572940ea8cb9689c1603afcb956c1b7298e20cb3ec51458e28 [INFO] running `Command { std: "docker" "start" "-a" "ad09812e9da47e572940ea8cb9689c1603afcb956c1b7298e20cb3ec51458e28", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling rcalc v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rcalc/interpreter/interpreter.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from(program: &str) -> Interpreter { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from(program: &str) -> Interpreter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rcalc/lexer.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from(text: &str) -> Lexer { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from(text: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rcalc/interpreter/interpreter.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from(program: &str) -> Interpreter { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from(program: &str) -> Interpreter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rcalc/lexer.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from(text: &str) -> Lexer { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from(text: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 8.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ad09812e9da47e572940ea8cb9689c1603afcb956c1b7298e20cb3ec51458e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad09812e9da47e572940ea8cb9689c1603afcb956c1b7298e20cb3ec51458e28", kill_on_drop: false }` [INFO] [stdout] ad09812e9da47e572940ea8cb9689c1603afcb956c1b7298e20cb3ec51458e28 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aa8fc96a65ca8d56898ef612b00710c913d2e0bf672f8c447331d8a0a337f2f5 [INFO] running `Command { std: "docker" "start" "-a" "aa8fc96a65ca8d56898ef612b00710c913d2e0bf672f8c447331d8a0a337f2f5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rcalc/interpreter/interpreter.rs:13:26 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn from(program: &str) -> Interpreter { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 13 | pub fn from(program: &str) -> Interpreter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rcalc/lexer.rs:38:23 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn from(text: &str) -> Lexer { [INFO] [stderr] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 38 | pub fn from(text: &str) -> Lexer<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rcalc` (lib) generated 2 warnings (run `cargo fix --lib -p rcalc` to apply 2 suggestions) [INFO] [stderr] warning: `rcalc` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rcalc-9e308949f0d7ef59) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rcalc-4fd9ff890dc476d8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/gen.rs (/opt/rustwide/target/debug/deps/gen-984e5415f389d6b1) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::it_does_serial_mathematics ... ok [INFO] [stdout] test tests::it_handles_whitespace ... ok [INFO] [stdout] test tests::it_handles_numbers_of_more_than_one_digit ... ok [INFO] [stderr] Running tests/operators.rs (/opt/rustwide/target/debug/deps/operators-e2714a960718fd87) [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test operators::factorial::it_does_factorial ... ok [INFO] [stdout] test operators::division::it_does_integer_division ... ok [INFO] [stdout] test operators::division::it_does_division ... ok [INFO] [stdout] test operators::factorial::it_does_factorial_with_even_negative ... ok [INFO] [stdout] test operators::it_does_addition ... ok [INFO] [stdout] test operators::factorial::it_does_factorial_with_odd_negative ... ok [INFO] [stdout] test operators::it_does_multiplication ... ok [INFO] [stdout] test operators::it_does_subtraction ... ok [INFO] [stdout] test operators::it_handles_unary_operators ... ok [INFO] [stdout] test operators::division::it_does_modulo_division ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/precedence.rs (/opt/rustwide/target/debug/deps/precedence-ca4cf2c155ca7dce) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test precedence::emdas ... ok [INFO] [stdout] test precedence::femdas ... ok [INFO] [stdout] test precedence::pfemdas ... ok [INFO] [stderr] Doc-tests rcalc [INFO] [stdout] test precedence::mdas ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/rcalc/ast.rs - rcalc::ast::ASTNode (line 7) ... ignored [INFO] [stdout] test src/rcalc/lexer.rs - rcalc::lexer::Lexer (line 14) ... ignored [INFO] [stdout] test src/rcalc/ast.rs - rcalc::ast::ASTNode::from (line 24) ... FAILED [INFO] [stdout] test src/rcalc/lexer.rs - rcalc::lexer::Lexer<'a>::skip (line 104) ... FAILED [INFO] [stdout] test src/lib.rs - (line 48) - compile fail ... ok [INFO] [stdout] test src/rcalc/parser/parser.rs - rcalc::parser::parser::Parser (line 22) ... FAILED [INFO] [stdout] test src/rcalc/lexer.rs - rcalc::lexer::Lexer<'a>::next_token (line 123) ... FAILED [INFO] [stdout] test src/rcalc/token.rs - rcalc::token::Token (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - (line 34) ... ok [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/rcalc/ast.rs - rcalc::ast::ASTNode::from (line 24) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/rcalc/ast.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod rcalc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rcalc/lexer.rs - rcalc::lexer::Lexer<'a>::skip (line 104) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/rcalc/lexer.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod rcalc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rcalc/parser/parser.rs - rcalc::parser::parser::Parser (line 22) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/rcalc/parser/parser.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod rcalc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rcalc/lexer.rs - rcalc::lexer::Lexer<'a>::next_token (line 123) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/rcalc/lexer.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod rcalc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rcalc/token.rs - rcalc::token::Token (line 18) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/rcalc/token.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod rcalc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/rcalc/ast.rs - rcalc::ast::ASTNode::from (line 24) [INFO] [stdout] src/rcalc/lexer.rs - rcalc::lexer::Lexer<'a>::next_token (line 123) [INFO] [stdout] src/rcalc/lexer.rs - rcalc::lexer::Lexer<'a>::skip (line 104) [INFO] [stdout] src/rcalc/parser/parser.rs - rcalc::parser::parser::Parser (line 22) [INFO] [stdout] src/rcalc/token.rs - rcalc::token::Token (line 18) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 5 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.69s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "aa8fc96a65ca8d56898ef612b00710c913d2e0bf672f8c447331d8a0a337f2f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa8fc96a65ca8d56898ef612b00710c913d2e0bf672f8c447331d8a0a337f2f5", kill_on_drop: false }` [INFO] [stdout] aa8fc96a65ca8d56898ef612b00710c913d2e0bf672f8c447331d8a0a337f2f5