[INFO] fetching crate rcalc 0.1.2... [INFO] testing rcalc-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rcalc 0.1.2 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rcalc 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] Downloading crates ... [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded rustyline v1.0.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31dd72e3cd814804a22e860902ae7f64b9a69cf68a87d8e48045b0088783add1 [INFO] running `Command { std: "docker" "start" "-a" "31dd72e3cd814804a22e860902ae7f64b9a69cf68a87d8e48045b0088783add1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31dd72e3cd814804a22e860902ae7f64b9a69cf68a87d8e48045b0088783add1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31dd72e3cd814804a22e860902ae7f64b9a69cf68a87d8e48045b0088783add1", kill_on_drop: false }` [INFO] [stdout] 31dd72e3cd814804a22e860902ae7f64b9a69cf68a87d8e48045b0088783add1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5be063755b50125cac5948c4f9370b97be07beaa3a5470a2653626b1df455b22 [INFO] running `Command { std: "docker" "start" "-a" "5be063755b50125cac5948c4f9370b97be07beaa3a5470a2653626b1df455b22", 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.175 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [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 3.27s [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 6` [INFO] running `Command { std: "docker" "inspect" "5be063755b50125cac5948c4f9370b97be07beaa3a5470a2653626b1df455b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5be063755b50125cac5948c4f9370b97be07beaa3a5470a2653626b1df455b22", kill_on_drop: false }` [INFO] [stdout] 5be063755b50125cac5948c4f9370b97be07beaa3a5470a2653626b1df455b22 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8a909978a9006247b99bf8e548b6337be7fb3ece1d00fa79daf665222b74281 [INFO] running `Command { std: "docker" "start" "-a" "e8a909978a9006247b99bf8e548b6337be7fb3ece1d00fa79daf665222b74281", 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.175 [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 6.09s [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 6` [INFO] running `Command { std: "docker" "inspect" "e8a909978a9006247b99bf8e548b6337be7fb3ece1d00fa79daf665222b74281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8a909978a9006247b99bf8e548b6337be7fb3ece1d00fa79daf665222b74281", kill_on_drop: false }` [INFO] [stdout] e8a909978a9006247b99bf8e548b6337be7fb3ece1d00fa79daf665222b74281 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] af66f315f9f748df990c059074b3ecc3976ee229818fe26502f716525140e306 [INFO] running `Command { std: "docker" "start" "-a" "af66f315f9f748df990c059074b3ecc3976ee229818fe26502f716525140e306", 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.01s [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 6` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rcalc-af5e430f924b74ed) [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-c1e9fe01f8769793) [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-7e7edec53a62b619) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::it_does_serial_mathematics ... ok [INFO] [stdout] test tests::it_handles_numbers_of_more_than_one_digit ... ok [INFO] [stdout] test tests::it_handles_whitespace ... ok [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] [stderr] Running tests/operators.rs (/opt/rustwide/target/debug/deps/operators-b397c4751bf1932e) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test operators::division::it_does_division ... ok [INFO] [stdout] test operators::division::it_does_integer_division ... ok [INFO] [stdout] test operators::factorial::it_does_factorial ... ok [INFO] [stdout] test operators::division::it_does_modulo_division ... ok [INFO] [stdout] test operators::factorial::it_does_factorial_with_even_negative ... ok [INFO] [stdout] test operators::factorial::it_does_factorial_with_odd_negative ... ok [INFO] [stdout] test operators::it_does_addition ... ok [INFO] [stdout] test operators::it_does_multiplication ... ok [INFO] [stdout] test operators::it_handles_unary_operators ... ok [INFO] [stdout] test operators::it_does_subtraction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/precedence.rs (/opt/rustwide/target/debug/deps/precedence-9b371a9b7d921c1b) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test precedence::femdas ... ok [INFO] [stdout] test precedence::mdas ... ok [INFO] [stdout] test precedence::emdas ... ok [INFO] [stdout] test precedence::pfemdas ... 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] [stderr] Doc-tests rcalc [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/token.rs - rcalc::token::Token (line 18) ... FAILED [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/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/lib.rs - (line 48) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] test src/lib.rs - (line 34) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "af66f315f9f748df990c059074b3ecc3976ee229818fe26502f716525140e306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af66f315f9f748df990c059074b3ecc3976ee229818fe26502f716525140e306", kill_on_drop: false }` [INFO] [stdout] af66f315f9f748df990c059074b3ecc3976ee229818fe26502f716525140e306