[INFO] fetching crate whiledb 0.1.4...
[INFO] testing whiledb-0.1.4 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate whiledb 0.1.4 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate whiledb 0.1.4
[INFO] finished tweaking crates.io crate whiledb 0.1.4
[INFO] tweaked toml for crates.io crate whiledb 0.1.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate whiledb 0.1.4 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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]      Locking 32 packages to latest compatible versions
[INFO] [stderr]       Adding colored v2.2.0 (available: v3.0.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ef9d14aa8213f7d22690634b025af8c2a50b1f0117bede0e390f79b5419ce713
[INFO] running `Command { std: "docker" "start" "-a" "ef9d14aa8213f7d22690634b025af8c2a50b1f0117bede0e390f79b5419ce713", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef9d14aa8213f7d22690634b025af8c2a50b1f0117bede0e390f79b5419ce713", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef9d14aa8213f7d22690634b025af8c2a50b1f0117bede0e390f79b5419ce713", kill_on_drop: false }`
[INFO] [stdout] ef9d14aa8213f7d22690634b025af8c2a50b1f0117bede0e390f79b5419ce713
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6ac08983b6eb981f657998a7c32628bcdad56adb00b58d75cfe39b51de49ebdb
[INFO] running `Command { std: "docker" "start" "-a" "6ac08983b6eb981f657998a7c32628bcdad56adb00b58d75cfe39b51de49ebdb", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling santiago v1.3.1
[INFO] [stderr]    Compiling whiledb v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.09s
[INFO] running `Command { std: "docker" "inspect" "6ac08983b6eb981f657998a7c32628bcdad56adb00b58d75cfe39b51de49ebdb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ac08983b6eb981f657998a7c32628bcdad56adb00b58d75cfe39b51de49ebdb", kill_on_drop: false }`
[INFO] [stdout] 6ac08983b6eb981f657998a7c32628bcdad56adb00b58d75cfe39b51de49ebdb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 12511ebdc9f197896b63c0bb3a112fde86e6d1437d08ed4a67c643ec4fa26efb
[INFO] running `Command { std: "docker" "start" "-a" "12511ebdc9f197896b63c0bb3a112fde86e6d1437d08ed4a67c643ec4fa26efb", kill_on_drop: false }`
[INFO] [stderr]    Compiling whiledb v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.31s
[INFO] running `Command { std: "docker" "inspect" "12511ebdc9f197896b63c0bb3a112fde86e6d1437d08ed4a67c643ec4fa26efb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12511ebdc9f197896b63c0bb3a112fde86e6d1437d08ed4a67c643ec4fa26efb", kill_on_drop: false }`
[INFO] [stdout] 12511ebdc9f197896b63c0bb3a112fde86e6d1437d08ed4a67c643ec4fa26efb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 40da350b01ca17a6ca78fb7786e1bb653168f460cebe21d8d7441104827166a6
[INFO] running `Command { std: "docker" "start" "-a" "40da350b01ca17a6ca78fb7786e1bb653168f460cebe21d8d7441104827166a6", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/whiledb-25e538fad790fd09)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::test ... ok
[INFO] [stdout] test tests::sample_src ... ok
[INFO] [stdout] test tests::test2 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.25s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests whiledb
[INFO] [stdout] 
[INFO] [stdout] running 17 tests
[INFO] [stdout] test src/ast.rs - ast::Expr::GetItem (line 131) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Expr::GetAttr (line 137) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Expr::UnOp (line 119) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Expr::Tuple (line 104) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Expr::Call (line 125) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Cmd::Class (line 65) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Cmd::While (line 32) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Expr::Tuple (line 96) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Cmd::Func (line 57) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Cmd::Continue (line 46) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Cmd::Asgn (line 10) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Cmd::Break (line 51) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Expr::Tuple (line 100) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Expr::BinOp (line 113) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Cmd::Expr (line 40) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Cmd::If (line 21) ... FAILED
[INFO] [stdout] test src/ast.rs - ast::Cmd::Return (line 72) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/ast.rs - ast::Expr::GetItem (line 131) stdout ----
[INFO] [stdout] error: expected item, found `"expr"`
[INFO] [stdout]    --> src/ast.rs:132:1
[INFO] [stdout]     |
[INFO] [stdout] 132 | "expr"["expr", "expr"/*, */]
[INFO] [stdout]     | ^^^^^^ expected item
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Expr::GetAttr (line 137) stdout ----
[INFO] [stdout] error: expected item, found `"expr"`
[INFO] [stdout]    --> src/ast.rs:138:1
[INFO] [stdout]     |
[INFO] [stdout] 138 | "expr"."ident"
[INFO] [stdout]     | ^^^^^^ expected item
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Expr::UnOp (line 119) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `"expr"`
[INFO] [stdout]    --> src/ast.rs:120:4
[INFO] [stdout]     |
[INFO] [stdout] 120 | op "expr"
[INFO] [stdout]     |    ^^^^^^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Expr::Tuple (line 104) stdout ----
[INFO] [stdout] error: expected item, found `"expr"`
[INFO] [stdout]    --> src/ast.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout] 105 | "expr"["expr", "expr"/*, */]
[INFO] [stdout]     | ^^^^^^ expected item
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Expr::Call (line 125) stdout ----
[INFO] [stdout] error[E0618]: expected function, found `&'static str`
[INFO] [stdout]    --> src/ast.rs:126:1
[INFO] [stdout]     |
[INFO] [stdout] 126 | "expr"("expr", "expr"/*, */)
[INFO] [stdout]     | ^^^^^^----------------------
[INFO] [stdout]     | |
[INFO] [stdout]     | call expression requires function
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0618`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Cmd::Class (line 65) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `ident`
[INFO] [stdout]   --> src/ast.rs:66:7
[INFO] [stdout]    |
[INFO] [stdout] 66 | class ident {
[INFO] [stdout]    |       ^^^^^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Cmd::While (line 32) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ast.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | while "expr" /* do */ {
[INFO] [stdout]    |       ^^^^^^ expected `bool`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ast.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | / while "expr" /* do */ {
[INFO] [stdout] 34 | |     "cmd"
[INFO] [stdout]    | |     ^^^^^ expected `()`, found `&str`
[INFO] [stdout] 35 | | }
[INFO] [stdout]    | |_- expected this to be `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Expr::Tuple (line 96) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ast.rs:97:1
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ast_rs_96_0() {
[INFO] [stdout]    |                                                                        - help: try adding a return type: `-> [&str; 2]`
[INFO] [stdout] 97 | ["expr", "expr"/*, */]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `[&str; 2]`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Cmd::Func (line 57) stdout ----
[INFO] [stdout] error: expected one of `...`, `..=`, `..`, `:`, or `|`, found `)`
[INFO] [stdout]   --> src/ast.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn ident("ident_list") {
[INFO] [stdout]    |                      ^ expected one of `...`, `..=`, `..`, `:`, or `|`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ast.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn ident("ident_list") {
[INFO] [stdout]    |                       - help: try adding a return type: `-> &'static str`
[INFO] [stdout] 59 |     "cmd"
[INFO] [stdout]    |     ^^^^^ expected `()`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Cmd::Continue (line 46) stdout ----
[INFO] [stdout] error[E0268]: `continue` outside of a loop
[INFO] [stdout]   --> src/ast.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | continue
[INFO] [stdout]    | ^^^^^^^^ cannot `continue` outside of a loop
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0268`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Cmd::Asgn (line 10) stdout ----
[INFO] [stdout] error[E0070]: invalid left-hand side of assignment
[INFO] [stdout]   --> src/ast.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | "expr" = "expr"
[INFO] [stdout]    | ------ ^
[INFO] [stdout]    | |
[INFO] [stdout]    | cannot assign to this expression
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0070`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Cmd::Break (line 51) stdout ----
[INFO] [stdout] error[E0268]: `break` outside of a loop or labeled block
[INFO] [stdout]   --> src/ast.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | break
[INFO] [stdout]    | ^^^^^ cannot `break` outside of a loop or labeled block
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0268`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Expr::Tuple (line 100) stdout ----
[INFO] [stdout] error[E0618]: expected function, found `&'static str`
[INFO] [stdout]    --> src/ast.rs:101:1
[INFO] [stdout]     |
[INFO] [stdout] 101 | "expr"("expr", "expr"/*, */)
[INFO] [stdout]     | ^^^^^^----------------------
[INFO] [stdout]     | |
[INFO] [stdout]     | call expression requires function
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0618`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Expr::BinOp (line 113) stdout ----
[INFO] [stdout] error: expected item, found `"expr"`
[INFO] [stdout]    --> src/ast.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | "expr" op "expr"
[INFO] [stdout]     | ^^^^^^ expected item
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Cmd::Expr (line 40) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ast.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ast_rs_40_0() {
[INFO] [stdout]    |                                                                        - help: try adding a return type: `-> &'static str`
[INFO] [stdout] 41 | "expr"
[INFO] [stdout]    | ^^^^^^ expected `()`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Cmd::If (line 21) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ast.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | if "expr" /* then */ {
[INFO] [stdout]    |    ^^^^^^ expected `bool`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ast.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | / if "expr" /* then */ {
[INFO] [stdout] 23 | |     "cmd"
[INFO] [stdout]    | |     ^^^^^ expected `()`, found `&str`
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_- `if` expressions without `else` arms expect their inner expression to be `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ast.rs - ast::Cmd::Return (line 72) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ast.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ast_rs_72_0() {
[INFO] [stdout]    |                                                                        - help: try adding a return type: `-> &'static str`
[INFO] [stdout] 73 | return "expr"
[INFO] [stdout]    |        ^^^^^^ expected `()`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/ast.rs - ast::Cmd::Asgn (line 10)
[INFO] [stdout]     src/ast.rs - ast::Cmd::Break (line 51)
[INFO] [stdout]     src/ast.rs - ast::Cmd::Class (line 65)
[INFO] [stdout]     src/ast.rs - ast::Cmd::Continue (line 46)
[INFO] [stdout]     src/ast.rs - ast::Cmd::Expr (line 40)
[INFO] [stdout]     src/ast.rs - ast::Cmd::Func (line 57)
[INFO] [stdout]     src/ast.rs - ast::Cmd::If (line 21)
[INFO] [stdout]     src/ast.rs - ast::Cmd::Return (line 72)
[INFO] [stdout]     src/ast.rs - ast::Cmd::While (line 32)
[INFO] [stdout]     src/ast.rs - ast::Expr::BinOp (line 113)
[INFO] [stdout]     src/ast.rs - ast::Expr::Call (line 125)
[INFO] [stdout]     src/ast.rs - ast::Expr::GetAttr (line 137)
[INFO] [stdout]     src/ast.rs - ast::Expr::GetItem (line 131)
[INFO] [stdout]     src/ast.rs - ast::Expr::Tuple (line 100)
[INFO] [stdout]     src/ast.rs - ast::Expr::Tuple (line 104)
[INFO] [stdout]     src/ast.rs - ast::Expr::Tuple (line 96)
[INFO] [stdout]     src/ast.rs - ast::Expr::UnOp (line 119)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "40da350b01ca17a6ca78fb7786e1bb653168f460cebe21d8d7441104827166a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40da350b01ca17a6ca78fb7786e1bb653168f460cebe21d8d7441104827166a6", kill_on_drop: false }`
[INFO] [stdout] 40da350b01ca17a6ca78fb7786e1bb653168f460cebe21d8d7441104827166a6
