[INFO] fetching crate rsc 2.0.0...
[INFO] testing rsc-2.0.0 against 1.75.0 for beta-1.76-1
[INFO] extracting crate rsc 2.0.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate rsc 2.0.0 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rsc 2.0.0
[INFO] finished tweaking crates.io crate rsc 2.0.0
[INFO] tweaked toml for crates.io crate rsc 2.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f8c5907a2f2993f29d0ce9aabcd2ccd4c1a7a2d71bae1b365ea87091d01da45
[INFO] running `Command { std: "docker" "start" "-a" "6f8c5907a2f2993f29d0ce9aabcd2ccd4c1a7a2d71bae1b365ea87091d01da45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f8c5907a2f2993f29d0ce9aabcd2ccd4c1a7a2d71bae1b365ea87091d01da45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f8c5907a2f2993f29d0ce9aabcd2ccd4c1a7a2d71bae1b365ea87091d01da45", kill_on_drop: false }`
[INFO] [stdout] 6f8c5907a2f2993f29d0ce9aabcd2ccd4c1a7a2d71bae1b365ea87091d01da45
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d48dd7d00b01b634c0bc6fddacf2c65fe47be3d17bf07fbc644ef885c66ce266
[INFO] running `Command { std: "docker" "start" "-a" "d48dd7d00b01b634c0bc6fddacf2c65fe47be3d17bf07fbc644ef885c66ce266", kill_on_drop: false }`
[INFO] [stderr]    Compiling rsc v2.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/computer.rs:70:40
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub functions: HashMap<String, &'a Fn(T) -> T>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub functions: HashMap<String, &'a dyn Fn(T) -> T>,
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/computer.rs:83:53
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 let mut map = HashMap::<String, &'a Fn(f64) -> f64>::new();
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 let mut map = HashMap::<String, &'a dyn Fn(f64) -> f64>::new();
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.16s
[INFO] running `Command { std: "docker" "inspect" "d48dd7d00b01b634c0bc6fddacf2c65fe47be3d17bf07fbc644ef885c66ce266", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d48dd7d00b01b634c0bc6fddacf2c65fe47be3d17bf07fbc644ef885c66ce266", kill_on_drop: false }`
[INFO] [stdout] d48dd7d00b01b634c0bc6fddacf2c65fe47be3d17bf07fbc644ef885c66ce266
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d2359a28dcea5b3d27c5002ee77e50f7bb584e33db811b787b2eb228f491734
[INFO] running `Command { std: "docker" "start" "-a" "8d2359a28dcea5b3d27c5002ee77e50f7bb584e33db811b787b2eb228f491734", kill_on_drop: false }`
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/computer.rs:70:40
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub functions: HashMap<String, &'a Fn(T) -> T>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub functions: HashMap<String, &'a dyn Fn(T) -> T>,
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rsc v2.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/computer.rs:83:53
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 let mut map = HashMap::<String, &'a Fn(f64) -> f64>::new();
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 let mut map = HashMap::<String, &'a dyn Fn(f64) -> f64>::new();
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/computer.rs:70:40
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub functions: HashMap<String, &'a Fn(T) -> T>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub functions: HashMap<String, &'a dyn Fn(T) -> T>,
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/computer.rs:83:53
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 let mut map = HashMap::<String, &'a Fn(f64) -> f64>::new();
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 let mut map = HashMap::<String, &'a dyn Fn(f64) -> f64>::new();
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.22s
[INFO] running `Command { std: "docker" "inspect" "8d2359a28dcea5b3d27c5002ee77e50f7bb584e33db811b787b2eb228f491734", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d2359a28dcea5b3d27c5002ee77e50f7bb584e33db811b787b2eb228f491734", kill_on_drop: false }`
[INFO] [stdout] 8d2359a28dcea5b3d27c5002ee77e50f7bb584e33db811b787b2eb228f491734
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bc4b4b82bbf36bdbcf1eedabfd926f6cbd18d6d84cd0c7c6d78f356a81578d43
[INFO] running `Command { std: "docker" "start" "-a" "bc4b4b82bbf36bdbcf1eedabfd926f6cbd18d6d84cd0c7c6d78f356a81578d43", kill_on_drop: false }`
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/computer.rs:70:40
[INFO] [stderr]    |
[INFO] [stderr] 70 |     pub functions: HashMap<String, &'a Fn(T) -> T>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 70 |     pub functions: HashMap<String, &'a dyn Fn(T) -> T>,
[INFO] [stderr]    |                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/computer.rs:83:53
[INFO] [stderr]    |
[INFO] [stderr] 83 |                 let mut map = HashMap::<String, &'a Fn(f64) -> f64>::new();
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 83 |                 let mut map = HashMap::<String, &'a dyn Fn(f64) -> f64>::new();
[INFO] [stderr]    |                                                     +++
[INFO] [stderr] 
[INFO] [stderr] warning: `rsc` (lib) generated 2 warnings (run `cargo fix --lib -p rsc` to apply 2 suggestions)
[INFO] [stderr] warning: `rsc` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsc-2e4adce359e92d3d)
[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]    Doc-tests rsc
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/computer.rs - computer::Computer (line 54) ... FAILED
[INFO] [stdout] test src/computer.rs - computer::Computer<'a,T>::compute (line 177) ... FAILED
[INFO] [stdout] test src/lib.rs - eval (line 110) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 65) ... FAILED
[INFO] [stdout] test src/lexer.rs - lexer::tokenize (line 40) ... FAILED
[INFO] [stdout] test src/parser.rs - parser::Expr<T>::replace (line 30) ... FAILED
[INFO] [stdout] test src/lib.rs - eval (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 29) ... ok
[INFO] [stdout] test src/lib.rs - (line 10) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/computer.rs - computer::Computer (line 54) stdout ----
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/computer.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 10 | let mut computer = Computer::new(std::f64::consts::PI, std::f64::consts::E);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ --------------------  ------------------- unexpected argument of type `f64`
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  unexpected argument of type `f64`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/computer.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn new() -> Computer<'a, T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]    |
[INFO] [stdout] 10 - let mut computer = Computer::new(std::f64::consts::PI, std::f64::consts::E);
[INFO] [stdout] 10 + let mut computer = Computer::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/computer.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | Computer::new(std::f64::consts::PI, std::f64::consts::E).eval("a");
[INFO] [stdout]    | ^^^^^^^^^^^^^ --------------------  ------------------- unexpected argument of type `f64`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               unexpected argument of type `f64`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/computer.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn new() -> Computer<'a, T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]    |
[INFO] [stdout] 15 - Computer::new(std::f64::consts::PI, std::f64::consts::E).eval("a");
[INFO] [stdout] 15 + Computer::new().eval("a");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/computer.rs - computer::Computer<'a,T>::compute (line 177) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `parse` in this scope
[INFO] [stdout]  --> src/computer.rs:178:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | let ast = parse(/*...*/);
[INFO] [stdout]   |           ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsc::parser::parse;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Computer`
[INFO] [stdout]  --> src/computer.rs:179:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut computer = Computer::<f64>::default();
[INFO] [stdout]   |                    ^^^^^^^^ use of undeclared type `Computer`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsc::computer::Computer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - eval (line 110) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Computer`
[INFO] [stdout]  --> src/lib.rs:111:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut computer = Computer::<f64>::default();
[INFO] [stdout]   |                    ^^^^^^^^ use of undeclared type `Computer`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsc::computer::Computer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 65) stdout ----
[INFO] [stdout] error[E0585]: found a documentation comment that doesn't document anything
[INFO] [stdout]  --> src/lib.rs:67:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | /// ... using the computer
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: doc comments must come before what they document, if a comment was intended use `//`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Computer`
[INFO] [stdout]  --> src/lib.rs:66:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut c = Computer::new();
[INFO] [stdout]   |             ^^^^^^^^ use of undeclared type `Computer`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsc::computer::Computer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0585.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lexer.rs - lexer::tokenize (line 40) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `rsc::tokenize`
[INFO] [stdout]  --> src/lexer.rs:42:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rsc::tokenize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `tokenize` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token`
[INFO] [stdout]  --> src/lexer.rs:44:33
[INFO] [stdout]   |
[INFO] [stdout] 7 | assert_eq!(tokens.as_slice(), &[Token::Number(2.0), Token::Operator(Operator::Plus), Token::Number(2.0)]);
[INFO] [stdout]   |                                 ^^^^^ use of undeclared type `Token`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsc::lexer::Token;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token`
[INFO] [stdout]  --> src/lexer.rs:44:53
[INFO] [stdout]   |
[INFO] [stdout] 7 | assert_eq!(tokens.as_slice(), &[Token::Number(2.0), Token::Operator(Operator::Plus), Token::Number(2.0)]);
[INFO] [stdout]   |                                                     ^^^^^ use of undeclared type `Token`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsc::lexer::Token;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator`
[INFO] [stdout]  --> src/lexer.rs:44:69
[INFO] [stdout]   |
[INFO] [stdout] 7 | assert_eq!(tokens.as_slice(), &[Token::Number(2.0), Token::Operator(Operator::Plus), Token::Number(2.0)]);
[INFO] [stdout]   |                                                                     ^^^^^^^^ use of undeclared type `Operator`
[INFO] [stdout]   |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 7 | assert_eq!(tokens.as_slice(), &[Token::Number(2.0), Token::Operator(Iterator::Plus), Token::Number(2.0)]);
[INFO] [stdout]   |                                                                     ~~~~~~~~
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsc::lexer::Operator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token`
[INFO] [stdout]  --> src/lexer.rs:44:86
[INFO] [stdout]   |
[INFO] [stdout] 7 | assert_eq!(tokens.as_slice(), &[Token::Number(2.0), Token::Operator(Operator::Plus), Token::Number(2.0)]);
[INFO] [stdout]   |                                                                                      ^^^^^ use of undeclared type `Token`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rsc::lexer::Token;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/parser.rs - parser::Expr<T>::replace (line 30) stdout ----
[INFO] [stdout] error: mismatched closing delimiter: `}`
[INFO] [stdout]   --> src/parser.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_parser_rs_30_0() {
[INFO] [stdout]    |                                                                            - closing delimiter possibly meant for this
[INFO] [stdout] ...
[INFO] [stdout] 14 | assert_eq!(Computer::new(std::f64::consts::PI, std::f64::consts::E).compute(&ast), Ok(1600.0);
[INFO] [stdout]    |           ^ unclosed delimiter
[INFO] [stdout] 15 | } _doctest_main_src_parser_rs_30_0() }
[INFO] [stdout]    | ^ mismatched closing delimiter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - eval (line 116) stdout ----
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 6   | assert!(eval("3.1 + 2.2").unwrap() == 5.3);
[INFO] [stdout]     |         ^^^^ cannot infer type of the type parameter `T` declared on the function `eval`
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `_: Debug`
[INFO] [stdout] note: required by a bound in `eval`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:120:16
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn eval<T: std::fmt::Debug>(input: &str) -> Result<T, EvalError<T>> where T: Num + std::str::FromStr + Clone + PartialOrd + Neg<Outpu...
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^ required by this bound in `eval`
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 6   | assert!(eval::<T>("3.1 + 2.2").unwrap() == 5.3);
[INFO] [stdout]     |             +++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/computer.rs - computer::Computer (line 54)
[INFO] [stdout]     src/computer.rs - computer::Computer<'a,T>::compute (line 177)
[INFO] [stdout]     src/lexer.rs - lexer::tokenize (line 40)
[INFO] [stdout]     src/lib.rs - (line 65)
[INFO] [stdout]     src/lib.rs - eval (line 110)
[INFO] [stdout]     src/lib.rs - eval (line 116)
[INFO] [stdout]     src/parser.rs - parser::Expr<T>::replace (line 30)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bc4b4b82bbf36bdbcf1eedabfd926f6cbd18d6d84cd0c7c6d78f356a81578d43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc4b4b82bbf36bdbcf1eedabfd926f6cbd18d6d84cd0c7c6d78f356a81578d43", kill_on_drop: false }`
[INFO] [stdout] bc4b4b82bbf36bdbcf1eedabfd926f6cbd18d6d84cd0c7c6d78f356a81578d43
