[INFO] updating cached repository https://github.com/TisButMe/learn-compilers
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] c17ee9a0f3f861cb100c362692c755015d1cf195
[INFO] checking TisButMe/learn-compilers against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTisButMe%2Flearn-compilers" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TisButMe/learn-compilers on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/TisButMe/learn-compilers
[INFO] finished tweaking git repo https://github.com/TisButMe/learn-compilers
[INFO] tweaked toml for git repo https://github.com/TisButMe/learn-compilers written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/TisButMe/learn-compilers already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 67faff017156cac7f6061f600c602f0a80b23356e4ed2217ff8043234306a4d1
[INFO] running `"docker" "start" "-a" "67faff017156cac7f6061f600c602f0a80b23356e4ed2217ff8043234306a4d1"`
[INFO] [stderr]     Checking learn-compilers v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]    --> src/main.rs:111:41
[INFO] [stderr]     |
[INFO] [stderr] 111 | fn get_number(look_ahead: &mut char) -> uint {
[INFO] [stderr]     |                                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:38:36
[INFO] [stderr]    |
[INFO] [stderr] 38 |   let instr = "MOV ".to_string() + name + ", RAX".to_string();
[INFO] [stderr]    |                                    ^^^^
[INFO] [stderr]    |                                    |
[INFO] [stderr]    |                                    expected `&str`, found struct `std::string::String`
[INFO] [stderr]    |                                    help: consider borrowing here: `&name`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:38:43
[INFO] [stderr]    |
[INFO] [stderr] 38 |   let instr = "MOV ".to_string() + name + ", RAX".to_string();
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |                                           |
[INFO] [stderr]    |                                           expected `&str`, found struct `std::string::String`
[INFO] [stderr]    |                                           help: consider borrowing here: `&", RAX".to_string()`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:39:17
[INFO] [stderr]    |
[INFO] [stderr] 39 |   emit_ln(instr.as_slice());
[INFO] [stderr]    |                 ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:98:21
[INFO] [stderr]    |
[INFO] [stderr] 98 |       emit_ln(instr.as_slice());
[INFO] [stderr]    |                     ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_char` found for struct `std::io::Stdin` in the current scope
[INFO] [stderr]    --> src/main.rs:104:26
[INFO] [stderr]     |
[INFO] [stderr] 104 |   let mut next = stdin().read_char().unwrap();
[INFO] [stderr]     |                          ^^^^^^^^^ method not found in `std::io::Stdin`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_char` found for struct `std::io::Stdin` in the current scope
[INFO] [stderr]    --> src/main.rs:106:20
[INFO] [stderr]     |
[INFO] [stderr] 106 |     next = stdin().read_char().unwrap();
[INFO] [stderr]     |                    ^^^^^^^^^ method not found in `std::io::Stdin`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/main.rs:126:19
[INFO] [stderr]     |
[INFO] [stderr] 126 |     name = name + look_ahead.to_string();
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   expected `&str`, found struct `std::string::String`
[INFO] [stderr]     |                   help: consider borrowing here: `&look_ahead.to_string()`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/main.rs:137:41
[INFO] [stderr]     |
[INFO] [stderr] 137 |       let instr = "CALL ".to_string() + name;
[INFO] [stderr]     |                                         ^^^^
[INFO] [stderr]     |                                         |
[INFO] [stderr]     |                                         expected `&str`, found struct `std::string::String`
[INFO] [stderr]     |                                         help: consider borrowing here: `&name`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:138:21
[INFO] [stderr]     |
[INFO] [stderr] 138 |       emit_ln(instr.as_slice());
[INFO] [stderr]     |                     ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/main.rs:142:45
[INFO] [stderr]     |
[INFO] [stderr] 142 |       let instr = "MOV RAX, ".to_string() + name;
[INFO] [stderr]     |                                             ^^^^
[INFO] [stderr]     |                                             |
[INFO] [stderr]     |                                             expected `&str`, found struct `std::string::String`
[INFO] [stderr]     |                                             help: consider borrowing here: `&name`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:143:21
[INFO] [stderr]     |
[INFO] [stderr] 143 |       emit_ln(instr.as_slice());
[INFO] [stderr]     |                     ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/main.rs:161:24
[INFO] [stderr]     |
[INFO] [stderr] 161 |   emit(s.to_string() + "\n".to_string());
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        expected `&str`, found struct `std::string::String`
[INFO] [stderr]     |                        help: consider borrowing here: `&"\n".to_string()`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `learn-compilers`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]    --> src/main.rs:111:41
[INFO] [stderr]     |
[INFO] [stderr] 111 | fn get_number(look_ahead: &mut char) -> uint {
[INFO] [stderr]     |                                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:38:36
[INFO] [stderr]    |
[INFO] [stderr] 38 |   let instr = "MOV ".to_string() + name + ", RAX".to_string();
[INFO] [stderr]    |                                    ^^^^
[INFO] [stderr]    |                                    |
[INFO] [stderr]    |                                    expected `&str`, found struct `std::string::String`
[INFO] [stderr]    |                                    help: consider borrowing here: `&name`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:38:43
[INFO] [stderr]    |
[INFO] [stderr] 38 |   let instr = "MOV ".to_string() + name + ", RAX".to_string();
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |                                           |
[INFO] [stderr]    |                                           expected `&str`, found struct `std::string::String`
[INFO] [stderr]    |                                           help: consider borrowing here: `&", RAX".to_string()`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:39:17
[INFO] [stderr]    |
[INFO] [stderr] 39 |   emit_ln(instr.as_slice());
[INFO] [stderr]    |                 ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:98:21
[INFO] [stderr]    |
[INFO] [stderr] 98 |       emit_ln(instr.as_slice());
[INFO] [stderr]    |                     ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_char` found for struct `std::io::Stdin` in the current scope
[INFO] [stderr]    --> src/main.rs:104:26
[INFO] [stderr]     |
[INFO] [stderr] 104 |   let mut next = stdin().read_char().unwrap();
[INFO] [stderr]     |                          ^^^^^^^^^ method not found in `std::io::Stdin`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_char` found for struct `std::io::Stdin` in the current scope
[INFO] [stderr]    --> src/main.rs:106:20
[INFO] [stderr]     |
[INFO] [stderr] 106 |     next = stdin().read_char().unwrap();
[INFO] [stderr]     |                    ^^^^^^^^^ method not found in `std::io::Stdin`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/main.rs:126:19
[INFO] [stderr]     |
[INFO] [stderr] 126 |     name = name + look_ahead.to_string();
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   expected `&str`, found struct `std::string::String`
[INFO] [stderr]     |                   help: consider borrowing here: `&look_ahead.to_string()`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/main.rs:137:41
[INFO] [stderr]     |
[INFO] [stderr] 137 |       let instr = "CALL ".to_string() + name;
[INFO] [stderr]     |                                         ^^^^
[INFO] [stderr]     |                                         |
[INFO] [stderr]     |                                         expected `&str`, found struct `std::string::String`
[INFO] [stderr]     |                                         help: consider borrowing here: `&name`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:138:21
[INFO] [stderr]     |
[INFO] [stderr] 138 |       emit_ln(instr.as_slice());
[INFO] [stderr]     |                     ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/main.rs:142:45
[INFO] [stderr]     |
[INFO] [stderr] 142 |       let instr = "MOV RAX, ".to_string() + name;
[INFO] [stderr]     |                                             ^^^^
[INFO] [stderr]     |                                             |
[INFO] [stderr]     |                                             expected `&str`, found struct `std::string::String`
[INFO] [stderr]     |                                             help: consider borrowing here: `&name`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:143:21
[INFO] [stderr]     |
[INFO] [stderr] 143 |       emit_ln(instr.as_slice());
[INFO] [stderr]     |                     ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/main.rs:161:24
[INFO] [stderr]     |
[INFO] [stderr] 161 |   emit(s.to_string() + "\n".to_string());
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        expected `&str`, found struct `std::string::String`
[INFO] [stderr]     |                        help: consider borrowing here: `&"\n".to_string()`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `learn-compilers`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "67faff017156cac7f6061f600c602f0a80b23356e4ed2217ff8043234306a4d1"`
[INFO] running `"docker" "rm" "-f" "67faff017156cac7f6061f600c602f0a80b23356e4ed2217ff8043234306a4d1"`
[INFO] [stdout] 67faff017156cac7f6061f600c602f0a80b23356e4ed2217ff8043234306a4d1
