[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 try#4987e9d4227139400384ab59296ffee3b0fb1183 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 47% (910/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qzj-123/rustlings on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7151a11f88d16d538f4fa2de8cf752d5b02dba13aca4604401f253e3045faee [INFO] running `Command { std: "docker" "start" "-a" "b7151a11f88d16d538f4fa2de8cf752d5b02dba13aca4604401f253e3045faee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7151a11f88d16d538f4fa2de8cf752d5b02dba13aca4604401f253e3045faee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7151a11f88d16d538f4fa2de8cf752d5b02dba13aca4604401f253e3045faee", kill_on_drop: false }` [INFO] [stdout] b7151a11f88d16d538f4fa2de8cf752d5b02dba13aca4604401f253e3045faee [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d9081825730d3fe4b4137baf567cb775610725add0f9ee7c7617113103d1991 [INFO] running `Command { std: "docker" "start" "-a" "2d9081825730d3fe4b4137baf567cb775610725add0f9ee7c7617113103d1991", kill_on_drop: false }` [INFO] [stderr] Compiling exercises v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> exercises/16_lifetimes/lifetimes1.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | fn longest(x: &str, y: &str) -> &str { [INFO] [stdout] | ---- ---- ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `x` or `y` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str { [INFO] [stdout] | ++++ ++ ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "from_str") due to 1 previous error [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/from_str.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn from_str(s: &str) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `append_bar` [INFO] [stdout] --> exercises/15_traits/traits1.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn append_bar(self) -> Self; [INFO] [stdout] | ---------------------------- `append_bar` from trait [INFO] [stdout] ... [INFO] [stdout] 7 | impl AppendBar for String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `append_bar` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "lifetimes1") due to 1 previous error [INFO] [stderr] error: could not compile `exercises` (bin "traits1") due to 1 previous error [INFO] [stdout] error: cannot find macro `my_macro` in this scope [INFO] [stdout] --> exercises/21_macros/macros2.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | my_macro!(); [INFO] [stdout] | ^^^^^^^^ consider moving the definition of `my_macro` before this call [INFO] [stdout] | [INFO] [stdout] note: a macro with the same name exists, but it appears later [INFO] [stdout] --> exercises/21_macros/macros2.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | macro_rules! my_macro { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `my_macro` [INFO] [stdout] --> exercises/21_macros/macros2.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | macro_rules! my_macro { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "macros2") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0072]: recursive type `List` has infinite size [INFO] [stdout] --> exercises/19_smart_pointers/box1.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | enum List { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Cons(i32, List), [INFO] [stdout] | ---- recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle [INFO] [stdout] | [INFO] [stdout] 15 | Cons(i32, Box), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when computing when `List` needs drop [INFO] [stdout] --> exercises/19_smart_pointers/box1.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | enum List { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which immediately requires computing when `List` needs drop again [INFO] [stdout] = note: cycle used when computing whether `List` needs drop [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `List` [INFO] [stdout] --> exercises/19_smart_pointers/box1.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | enum List { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which immediately requires computing drop-check constraints for `List` again [INFO] [stdout] = note: cycle used when computing dropck types for `List` [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0391. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "box1") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "2d9081825730d3fe4b4137baf567cb775610725add0f9ee7c7617113103d1991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d9081825730d3fe4b4137baf567cb775610725add0f9ee7c7617113103d1991", kill_on_drop: false }` [INFO] [stdout] 2d9081825730d3fe4b4137baf567cb775610725add0f9ee7c7617113103d1991