[INFO] cloning repository https://github.com/kodai12/toy_lisp_interpreter_in_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kodai12/toy_lisp_interpreter_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodai12%2Ftoy_lisp_interpreter_in_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodai12%2Ftoy_lisp_interpreter_in_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6c21ddc6c97868cf752c6b7b7d0293859e70b57e
[INFO] testing kodai12/toy_lisp_interpreter_in_rust against beta-2022-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodai12%2Ftoy_lisp_interpreter_in_rust" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust
[INFO] finished tweaking git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust
[INFO] tweaked toml for git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 108c939b64cf81d186727058aa03420863cc87f2ed94fbc3ce545c7714849a2c
[INFO] running `Command { std: "docker" "start" "-a" "108c939b64cf81d186727058aa03420863cc87f2ed94fbc3ce545c7714849a2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "108c939b64cf81d186727058aa03420863cc87f2ed94fbc3ce545c7714849a2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "108c939b64cf81d186727058aa03420863cc87f2ed94fbc3ce545c7714849a2c", kill_on_drop: false }`
[INFO] [stdout] 108c939b64cf81d186727058aa03420863cc87f2ed94fbc3ce545c7714849a2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 086a28ed9334c8a806c49057b13f61075b578974f9d328d94e69bfa8e6037d0d
[INFO] running `Command { std: "docker" "start" "-a" "086a28ed9334c8a806c49057b13f61075b578974f9d328d94e69bfa8e6037d0d", kill_on_drop: false }`
[INFO] [stderr]    Compiling tinylisp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/main.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | type OpFn = fn(Vec<String>) -> Box<ToString>;
[INFO] [stdout]   |                                    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) 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] 4 - type OpFn = fn(Vec<String>) -> Box<ToString>;
[INFO] [stdout] 4 + type OpFn = fn(Vec<String>) -> Box<dyn ToString>;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn plus(args: Vec<String>) -> Box<ToString> {
[INFO] [stdout]    |                                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) 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] 55 - fn plus(args: Vec<String>) -> Box<ToString> {
[INFO] [stdout] 55 + fn plus(args: Vec<String>) -> Box<dyn ToString> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:60:36
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn minus(args: Vec<String>) -> Box<ToString> {
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) 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] 60 - fn minus(args: Vec<String>) -> Box<ToString> {
[INFO] [stdout] 60 + fn minus(args: Vec<String>) -> Box<dyn ToString> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 sub_stack.push(t.clone());
[INFO] [stdout]    |                           ---- ^^^^^^^^^
[INFO] [stdout]    |                           |    |
[INFO] [stdout]    |                           |    expected struct `String`, found `&str`
[INFO] [stdout]    |                           |    help: try using a conversion method: `t.to_string()`
[INFO] [stdout]    |                           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: Borrow<&str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 if ops.contains_key(&t) {
[INFO] [stdout]    |                        ^^^^^^^^^^^^ the trait `Borrow<&str>` is not implemented for `String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Borrow<str>` is implemented for `String`
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S>::contains_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |             stack.push((*tstr).to_string());
[INFO] [stdout]    |                   ---- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                   |    |
[INFO] [stdout]    |                   |    expected `&str`, found struct `String`
[INFO] [stdout]    |                   |    help: consider borrowing here: `&(*tstr).to_string()`
[INFO] [stdout]    |                   arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 |             stack.push(token.to_string());
[INFO] [stdout]    |                   ---- ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                   |    |
[INFO] [stdout]    |                   |    expected `&str`, found struct `String`
[INFO] [stdout]    |                   |    help: consider borrowing here: `&token.to_string()`
[INFO] [stdout]    |                   arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn evaluate(input: &str, ops: HashMap<String, OpFn>) -> String {
[INFO] [stdout]    |                                                         ------ expected `String` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 48 |     stack.pop().unwrap()
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |     input.split_whitespace().collect().to_string()
[INFO] [stdout]    |                              ^^^^^^^ cannot infer type of the type parameter `B` declared on the associated function `collect`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type must be known at this point
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 52 |     input.split_whitespace().collect::<B>().to_string()
[INFO] [stdout]    |                                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tinylisp` due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "086a28ed9334c8a806c49057b13f61075b578974f9d328d94e69bfa8e6037d0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "086a28ed9334c8a806c49057b13f61075b578974f9d328d94e69bfa8e6037d0d", kill_on_drop: false }`
[INFO] [stdout] 086a28ed9334c8a806c49057b13f61075b578974f9d328d94e69bfa8e6037d0d
