[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] testing TisButMe/learn-compilers against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTisButMe%2Flearn-compilers" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TisButMe/learn-compilers on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-11/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 21580055c7e484596576405d80c0f83c0621ee56f58b2f80bd7e915d5393e0dc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "21580055c7e484596576405d80c0f83c0621ee56f58b2f80bd7e915d5393e0dc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling 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] running `"docker" "inspect" "21580055c7e484596576405d80c0f83c0621ee56f58b2f80bd7e915d5393e0dc"` [INFO] running `"docker" "rm" "-f" "21580055c7e484596576405d80c0f83c0621ee56f58b2f80bd7e915d5393e0dc"` [INFO] [stdout] 21580055c7e484596576405d80c0f83c0621ee56f58b2f80bd7e915d5393e0dc