[INFO] cloning repository https://github.com/kelvinkirima014/dumblang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kelvinkirima014/dumblang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelvinkirima014%2Fdumblang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelvinkirima014%2Fdumblang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 88a988112e14512195b65f09f9f90592bc7a0851
[INFO] testing kelvinkirima014/dumblang against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelvinkirima014%2Fdumblang" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kelvinkirima014/dumblang
[INFO] finished tweaking git repo https://github.com/kelvinkirima014/dumblang
[INFO] tweaked toml for git repo https://github.com/kelvinkirima014/dumblang written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kelvinkirima014/dumblang on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kelvinkirima014/dumblang already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ac6af6dc4810a3b7ced53b151514b6a540335045840c125b5c5376280d220264
[INFO] running `Command { std: "docker" "start" "-a" "ac6af6dc4810a3b7ced53b151514b6a540335045840c125b5c5376280d220264", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ac6af6dc4810a3b7ced53b151514b6a540335045840c125b5c5376280d220264", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac6af6dc4810a3b7ced53b151514b6a540335045840c125b5c5376280d220264", kill_on_drop: false }`
[INFO] [stdout] ac6af6dc4810a3b7ced53b151514b6a540335045840c125b5c5376280d220264
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c6adfd305a1635ca426686ec75d908b3deb5d0459f30cda1ca1a4e249648f9bf
[INFO] running `Command { std: "docker" "start" "-a" "c6adfd305a1635ca426686ec75d908b3deb5d0459f30cda1ca1a4e249648f9bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling dumblang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:68:22
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn parse_set(input: &[str]) -> Result<Commands, ParseError>{
[INFO] [stdout]    |                      ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: slice and array elements must have `Sized` type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:79:22
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn parse_get(input: &[str]) -> Result<Commands, ParseError>{
[INFO] [stdout]    |                      ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: slice and array elements must have `Sized` type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |         Ok(x) => Ok(Value::Int(x)),
[INFO] [stdout]    |                  -- ^^^^^^^^^^^^^ expected `String`, found `Value`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the type constructed contains `Value` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |         Ok(x) => Ok(Value::Int(x)),
[INFO] [stdout]    |                  ^^^-------------^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/33835004928d3bf65db4d4712e1330766263b0bd/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for reference `&[str]`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     if input.len() !=3 {
[INFO] [stdout]    |              ^^^ method cannot be called on `&[str]` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `str: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:73:35
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let var_name = parse_var_name(input[1])?;
[INFO] [stdout]    |                                   ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: required for `[str]` to implement `Index<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let value = parse_value(input[2])?;
[INFO] [stdout]    |                             ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: required for `[str]` to implement `Index<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:76:35
[INFO] [stdout]    |
[INFO] [stdout] 76 |     Ok(Commands::SetVar(var_name, value))
[INFO] [stdout]    |        ----------------           ^^^^^ expected `Value`, found `String`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> src/main.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |     SetVar(String, Value),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let command = line.split_ascii_whitespace().collect();
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 91 |
[INFO] [stdout] 92 |         match command.get(0) {
[INFO] [stdout]    |               ------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `command` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let command: Vec<_> = line.split_ascii_whitespace().collect();
[INFO] [stdout]    |                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 parse_set(&command);
[INFO] [stdout]    |                           ^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: slice and array elements must have `Sized` type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:97:27
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 parse_get(&command);
[INFO] [stdout]    |                           ^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: slice and array elements must have `Sized` type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:89:5
[INFO] [stdout]     |
[INFO] [stdout]  85 |   fn parse(input: &str) -> Result<Vec<Commands>, ParseError>{
[INFO] [stdout]     |                            --------------------------------- expected `Result<Vec<Commands>, ParseError>` because of return type
[INFO] [stdout] ...
[INFO] [stdout]  89 | /     for line in input.lines() {
[INFO] [stdout]  90 | |         let command = line.split_ascii_whitespace().collect();
[INFO] [stdout]  91 | |
[INFO] [stdout]  92 | |         match command.get(0) {
[INFO] [stdout] ...   |
[INFO] [stdout] 100 | |     }
[INFO] [stdout]     | |_____^ expected `Result<Vec<Commands>, ParseError>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<Vec<Commands>, ParseError>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout]     = note: `for` loops evaluate to unit type `()`
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]     |
[INFO] [stdout] 100 ~     }
[INFO] [stdout] 101 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/main.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn parse_get(input: &[str]) -> Result<Commands, ParseError>{
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dumblang` (bin "dumblang") due to 11 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c6adfd305a1635ca426686ec75d908b3deb5d0459f30cda1ca1a4e249648f9bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6adfd305a1635ca426686ec75d908b3deb5d0459f30cda1ca1a4e249648f9bf", kill_on_drop: false }`
[INFO] [stdout] c6adfd305a1635ca426686ec75d908b3deb5d0459f30cda1ca1a4e249648f9bf
