[INFO] cloning repository https://github.com/qzj-123/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qzj-123/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqzj-123%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqzj-123%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b8b35cab6d80dfa01e7bcf8f3e40c214643fc79 [INFO] building qzj-123/rustlings against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqzj-123%2Frustlings" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 46% (888/1927) Updating files: 47% (906/1927) Updating files: 48% (925/1927) Updating files: 49% (945/1927) Updating files: 50% (964/1927) Updating files: 51% (983/1927) Updating files: 52% (1003/1927) Updating files: 53% (1022/1927) Updating files: 54% (1041/1927) Updating files: 55% (1060/1927) Updating files: 56% (1080/1927) Updating files: 57% (1099/1927) Updating files: 58% (1118/1927) Updating files: 59% (1137/1927) Updating files: 60% (1157/1927) Updating files: 61% (1176/1927) Updating files: 62% (1195/1927) Updating files: 63% (1215/1927) Updating files: 64% (1234/1927) Updating files: 65% (1253/1927) Updating files: 66% (1272/1927) Updating files: 67% (1292/1927) Updating files: 68% (1311/1927) Updating files: 69% (1330/1927) Updating files: 70% (1349/1927) Updating files: 71% (1369/1927) Updating files: 72% (1388/1927) Updating files: 73% (1407/1927) Updating files: 74% (1426/1927) Updating files: 75% (1446/1927) Updating files: 76% (1465/1927) Updating files: 77% (1484/1927) Updating files: 78% (1504/1927) Updating files: 79% (1523/1927) Updating files: 80% (1542/1927) Updating files: 81% (1561/1927) Updating files: 82% (1581/1927) Updating files: 83% (1600/1927) Updating files: 84% (1619/1927) Updating files: 85% (1638/1927) Updating files: 86% (1658/1927) Updating files: 87% (1677/1927) Updating files: 88% (1696/1927) Updating files: 89% (1716/1927) Updating files: 90% (1735/1927) Updating files: 91% (1754/1927) Updating files: 92% (1773/1927) Updating files: 93% (1793/1927) Updating files: 94% (1812/1927) Updating files: 95% (1831/1927) Updating files: 96% (1850/1927) Updating files: 97% (1870/1927) Updating files: 98% (1889/1927) Updating files: 99% (1908/1927) Updating files: 100% (1927/1927) Updating files: 100% (1927/1927), done. [INFO] started tweaking git repo https://github.com/qzj-123/rustlings [INFO] finished tweaking git repo https://github.com/qzj-123/rustlings [INFO] tweaked toml for git repo https://github.com/qzj-123/rustlings written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qzj-123/rustlings on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/qzj-123/rustlings 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55071f354df8f8915f605c7cb94a00c28b3836a35b206960304c266e80556257 [INFO] running `Command { std: "docker" "start" "-a" "55071f354df8f8915f605c7cb94a00c28b3836a35b206960304c266e80556257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55071f354df8f8915f605c7cb94a00c28b3836a35b206960304c266e80556257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55071f354df8f8915f605c7cb94a00c28b3836a35b206960304c266e80556257", kill_on_drop: false }` [INFO] [stdout] 55071f354df8f8915f605c7cb94a00c28b3836a35b206960304c266e80556257 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26fcff8798920c797e087d1b61fd130fca9dac6ce69a0cdfef9c6c9a818515fa [INFO] running `Command { std: "docker" "start" "-a" "26fcff8798920c797e087d1b61fd130fca9dac6ce69a0cdfef9c6c9a818515fa", kill_on_drop: false }` [INFO] [stderr] Compiling exercises v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> exercises/04_primitive_types/primitive_types5.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | println!("{name} is {age} years old"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `age` in this scope [INFO] [stdout] --> exercises/04_primitive_types/primitive_types5.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | println!("{name} is {age} years old"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/from_into.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | fn from(s: &str) -> Self {} [INFO] [stdout] | ---- ^^^^ expected `Person`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `your_character` in this scope [INFO] [stdout] --> exercises/04_primitive_types/primitive_types2.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if your_character.is_alphabetic() { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `your_character` in this scope [INFO] [stdout] --> exercises/04_primitive_types/primitive_types2.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | } else if your_character.is_numeric() { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "primitive_types5") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/06_move_semantics/move_semantics5.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn string_uppercase(mut data: &String) { [INFO] [stdout] | ------- expected due to this parameter type [INFO] [stdout] 13 | data = data.to_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `&String`, found `String` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to mutate the pointed at value being passed in, instead of changing the reference in the local binding [INFO] [stdout] | [INFO] [stdout] 12 ~ fn string_uppercase(data: &mut String) { [INFO] [stdout] 13 ~ *data = data.to_uppercase(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `data` [INFO] [stdout] --> exercises/06_move_semantics/move_semantics5.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 19 | let data = "Rust is great!".to_string(); [INFO] [stdout] | ---- move occurs because `data` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] 20 | [INFO] [stdout] 21 | get_char(data); [INFO] [stdout] | ---- value moved here [INFO] [stdout] 22 | [INFO] [stdout] 23 | string_uppercase(&data); [INFO] [stdout] | ^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `get_char` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> exercises/06_move_semantics/move_semantics5.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_char(data: String) -> char { [INFO] [stdout] | -------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 21 | get_char(data.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "from_into") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0308, E0382. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `is_evening` in this scope [INFO] [stdout] --> exercises/04_primitive_types/primitive_types1.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | if is_evening { [INFO] [stdout] | ^^^^^^^^^^ help: a local variable with a similar name exists: `is_morning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "primitive_types1") due to 1 previous error [INFO] [stderr] error: could not compile `exercises` (bin "move_semantics5") due to 2 previous errors [INFO] [stderr] error: could not compile `exercises` (bin "primitive_types2") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>` [INFO] [stdout] --> exercises/20_threads/threads1.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut results = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 23 | let mut results: Vec = Vec::new(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "threads1") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "26fcff8798920c797e087d1b61fd130fca9dac6ce69a0cdfef9c6c9a818515fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26fcff8798920c797e087d1b61fd130fca9dac6ce69a0cdfef9c6c9a818515fa", kill_on_drop: false }` [INFO] [stdout] 26fcff8798920c797e087d1b61fd130fca9dac6ce69a0cdfef9c6c9a818515fa